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


PHP etranslate函数代码示例

本文整理汇总了PHP中etranslate函数的典型用法代码示例。如果您正苦于以下问题:PHP etranslate函数的具体用法?PHP etranslate怎么用?PHP etranslate使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


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

示例1: etranslate

 </td></tr>
 <tr><td colspan="2">
  <input type="submit" value="<?php 
etranslate("Save");
?>
" />
<?php 
if (!$adding_report) {
    ?>
  &nbsp;&nbsp;<input type="submit" name="action" 
  value="<?php 
    etranslate("Delete");
    ?>
"
  onclick="return confirm('<?php 
    etranslate("Are you sure you want to delete this report?");
    ?>
');" />
<?php 
}
?>
 </td></tr>
</table>
</form>

<?php 
print_trailer();
?>
</body>
</html>
开发者ID:rohcehlam,项目名称:rflow,代码行数:30,代码来源:edit_report.php

示例2: user_load_variables

    }
    echo "</UL><P>\n";
    if ($count == 0) {
        user_load_variables($user, "temp_");
        echo translate("No unapproved events for") . " " . $temp_fullname . ".";
    } else {
        echo $eventinfo;
    }
}
?>

<H2><FONT COLOR="<?php 
echo $H2COLOR;
?>
"><?php 
etranslate("Unapproved Events");
?>
</FONT></H2>

<?php 
// List unapproved events for this user.
list_unapproved($login);
// Admin users can also approve Public Access events
if ($is_admin && $public_access == "Y") {
    echo "<P><H3>" . translate("Public Access") . "</H3>\n";
    list_unapproved("__public__");
}
?>

<?php 
include "includes/trailer.php";
开发者ID:neuroidss,项目名称:virtuoso-opensource,代码行数:31,代码来源:list_unapproved.php

示例3: print_header

if (!empty($error)) {
    print_header('', '', '', true);
    ?>

<h2><?php 
    etranslate("Error");
    ?>
</h2>

<blockquote>
<?php 
    echo $error;
    //if ( $sql != "" )
    //  echo "<br /><br /><b>SQL:</b> $sql";
    //
    ?>
</blockquote>
</body>
</html>
<?php 
} else {
    if (empty($error)) {
        ?>
<html><head></head><body onload="alert('<?php 
        etranslate("Changes successfully saved");
        ?>
'); window.parent.location.href='users.php';">
</body></html>
<?php 
    }
}
开发者ID:neymanna,项目名称:fusionforge,代码行数:31,代码来源:edit_nonusers_handler.php

示例4: transmit_header

}
if ($format == "ical") {
    transmit_header('text/ical', "webcalendar-{$id}.ics");
    export_ical($id);
} elseif ($format == "vcal") {
    transmit_header('text/vcal', "webcalendar-{$id}.vcs");
    export_vcal($id);
} elseif ($format == "pilot-csv") {
    transmit_header('text/csv', "webcalendar-{$id}.csv");
    export_pilot_csv($id);
} elseif ($format == "pilot-text") {
    transmit_header('text/plain', "webcalendar-{$id}.txt");
    export_install_datebook($id);
} else {
    //exit;
    print_header();
    echo "<h2>";
    etranslate("Export");
    echo " ";
    etranslate("Error");
    echo "</h2>\n";
    echo "<span style=\"font-weight:bold;\">";
    etranslate("Error");
    echo ":</span> ";
    echo translate("export format not defined or incorrect") . ".";
    echo "<br />\n";
    print_trailer();
    echo " </body>\n";
    echo "</html>";
}
//end if ($format == "ical")
开发者ID:BackupTheBerlios,项目名称:fhnreposit,代码行数:31,代码来源:export_handler.php

示例5: etranslate

    ?>
		</td></tr>
	</table>
<?php 
}
?>

<?php 
if ($allow_color_customization == 'Y') {
    ?>
	<h3><?php 
    etranslate("Colors");
    ?>
</h3>
	<?php 
    etranslate("colors-help");
    ?>
	<br /><br />


<?php 
}
// if $allow_color_customization
?>

<?php 
include_once "includes/help_trailer.php";
?>

</body>
</html>
开发者ID:BackupTheBerlios,项目名称:fhnreposit,代码行数:31,代码来源:help_pref.php

示例6: etranslate

?>
</li>
		<li><?php 
etranslate("Lotus Organizer 6");
?>
</li>
		<li><?php 
etranslate("Microsoft Outlook 2002");
?>
</li>
	</ul>

<h3><?php 
etranslate("iCalendar");
?>
</h3>
	<p><?php 
etranslate("This form will import iCalendar (.ics) events");
?>
.
	<?php 
etranslate("Enabling <b>Overwrite Prior Import</b> will cause events imported previously that used the same UID as an event from the new import file to be marked as deleted.  This should allow an updated iCalendar file to be imported without creating duplicates.");
?>
</p>

<?php 
include_once "includes/help_trailer.php";
?>
</body>
</html>
开发者ID:neymanna,项目名称:fusionforge,代码行数:30,代码来源:help_import.php

示例7: display_unapproved_events

if (!empty($eventinfo)) {
    echo $eventinfo;
}
display_unapproved_events($is_assistant || $is_nonuser_admin ? $user : $login);
?>
<br />
<a title="<?php 
etranslate("Generate printer-friendly version");
?>
" class="printer" href="day.php?<?php 
echo $u_url;
if ($thisyear) {
    echo "year={$thisyear}&amp;month={$thismonth}&amp;day={$thisday}&amp;";
}
if (!empty($cat_id)) {
    echo "cat_id={$cat_id}&amp;";
}
?>
friendly=1" target="cal_printer_friendly" onmouseover="window.status = '<?php 
etranslate("Generate printer-friendly version");
?>
'">[<?php 
etranslate("Printer Friendly");
?>
]</a>

<?php 
print_trailer();
?>
</body>
</html>
开发者ID:noikiy,项目名称:owaspbwa,代码行数:31,代码来源:day.php

示例8: etranslate

    ?>
<tr><td>
	<br /><a title="<?php 
    etranslate("Delete layer");
    ?>
" href="del_layer.php?id=<?php 
    echo $id;
    if ($updating_public) {
        echo "&amp;public=1";
    }
    ?>
" onclick="return confirm('<?php 
    etranslate("Are you sure you want to delete this layer?");
    ?>
');"><?php 
    etranslate("Delete layer");
    ?>
</a><br />
</td></tr>
<?php 
}
// end 'Delete Layer' link
?>
</table>

<?php 
if (!empty($layers[$id]['cal_layeruser'])) {
    echo "<input type=\"hidden\" name=\"id\" value=\"{$id}\" />\n";
}
?>
</form>
开发者ID:noikiy,项目名称:owaspbwa,代码行数:31,代码来源:edit_layer.php

示例9: translate

}
if ($login != '__public__') {
    /*
      $goto_link[] = "<a title=\"" . 
    translate("Help") . "\" href=\"#\" onclick=\"window.open " .
    "( 'help_index.php', 'cal_help', 'dependent,menubar,scrollbars, " .
    "height=400,width=400,innerHeight=420,outerWidth=420' );\"  " .
    "onmouseover=\"window.status='" . 
    translate("Help") . "'\">" . 
    translate("Help") . "</a>";
    */
}
if (count($goto_link) > 0) {
    ?>
<span class="prefix"><?php 
    etranslate("Go to");
    ?>
:</span> <?php 
    for ($i = 0; $i < count($goto_link); $i++) {
        if ($i > 0) {
            echo " | ";
        }
        echo $goto_link[$i];
    }
}
?>

<!-- VIEWS -->
<?php 
if (($is_admin || $allow_view_other != "N") && count($views) > 0) {
    for ($i = 0; $i < count($views); $i++) {
开发者ID:neymanna,项目名称:fusionforge,代码行数:31,代码来源:trailer.php

示例10: etranslate

  <?php 
    }
    ?>
  <br /><br />
  <input type="submit" name="action" value="<?php 
    echo $button;
    ?>
" />
  <?php 
    if (!empty($id)) {
        ?>
	<input type="submit" name="action" value="<?php 
        etranslate("Delete");
        ?>
" onclick="return confirm('<?php 
        etranslate("Are you sure you want to delete this entry?");
        ?>
')" />
  <?php 
    }
    ?>
  </form>
  <?php 
} else {
    if (empty($error)) {
        // Displaying Categories
        $global_found = false;
        if (!empty($categories)) {
            echo "<ul>";
            foreach ($categories as $K => $V) {
                echo "<li>";
开发者ID:neymanna,项目名称:fusionforge,代码行数:31,代码来源:category.php

示例11: etranslate

                    etranslate("Event approved");
                } else {
                    if ($row[2] == $LOG_REJECT) {
                        etranslate("Event rejected");
                    } else {
                        if ($row[2] == $LOG_UPDATE) {
                            etranslate("Event updated");
                        } else {
                            if ($row[2] == $LOG_DELETE) {
                                etranslate("Event deleted");
                            } else {
                                if ($row[2] == $LOG_NOTIFICATION) {
                                    etranslate("Notification sent");
                                } else {
                                    if ($row[2] == $LOG_REMINDER) {
                                        etranslate("Reminder sent");
                                    } else {
                                        echo "???";
                                    }
                                }
                            }
                        }
                    }
                }
            }
            echo "\n</td></tr>\n";
        }
    }
    dbi_free_result($res);
} else {
    echo translate("Database error") . ": " . dbi_error();
开发者ID:BackupTheBerlios,项目名称:fhnreposit,代码行数:31,代码来源:activity_log.php

示例12: etranslate

                ?>
;">
		<?php 
                echo $layer['cal_color'];
                ?>
	</td></tr>
	<tr><td style="font-weight:bold;">
		<?php 
                etranslate("Duplicates");
                ?>
:</td><td>
		<?php 
                if ($layer['cal_dups'] == 'N') {
                    etranslate("No");
                } else {
                    etranslate("Yes");
                }
                ?>
	</td></tr>
</table>
<?php 
                $layer_count++;
            }
        }
    }
}
?>

<?php 
print_trailer();
?>
开发者ID:noikiy,项目名称:owaspbwa,代码行数:31,代码来源:layers.php

示例13: do_redirect

    if (empty($ovrd)) {
        do_redirect("admin.php");
    } else {
        do_redirect("admin.php?ovrd={$ovrd}");
    }
}
print_header();
?>

<h2><?php 
etranslate("Error");
?>
</h2>

<?php 
etranslate("The following error occurred");
?>
:
<blockquote>
<?php 
echo $error;
?>
</blockquote>

<?php 
print_trailer();
?>

</body>
</html>
开发者ID:rohcehlam,项目名称:rflow,代码行数:30,代码来源:admin_handler.php

示例14: user_get_users

    $userlist = user_get_users();
    for ($i = 0; $i < count($userlist); $i++) {
        if ($userlist[$i]['cal_login'] != '__public__') {
            echo "<li><a title=\"" . $userlist[$i]['cal_fullname'] . "\" href=\"edit_user.php?user=" . $userlist[$i]["cal_login"] . "\" target=\"useriframe\" onclick=\"javascript:show('useriframe');\">";
            echo $userlist[$i]['cal_fullname'];
            echo "</a>";
            if ($userlist[$i]["cal_is_admin"] == 'Y') {
                echo "&nbsp;<abbr title=\"" . translate("denotes administrative user") . "\">*</abbr>";
            }
            echo "</li>\n";
        }
    }
    ?>
		</ul>
	*&nbsp;<?php 
    etranslate("denotes administrative user");
    ?>
<br />

		<?php 
    echo "<iframe " . " name=\"useriframe\" id=\"useriframe\" style=\"width:90%;border-width:0px; height:280px;\"></iframe>";
} else {
    ?>
<iframe src="edit_user.php" name="accountiframe" id="accountiframe" style="width:90%;border-width:0px; height:210px;\"></iframe>
<?php 
}
?>
</div>

<?php 
if ($groups_enabled == "Y" && $is_admin) {
开发者ID:noikiy,项目名称:owaspbwa,代码行数:31,代码来源:users.php

示例15: alert

    alert ( "<?php 
etranslate('Error', true);
?>
:\n\n" + "<?php 
etranslate('Calendar ID cannot be blank.', true);
?>
" );
    document.editnonuser.nid.focus ();
    return false;
  }
  if ( ! fname && ! lname ) {
    alert ( "<?php 
etranslate('Error', true);
?>
:\n\n" + "<?php 
etranslate('First and last names cannot both be blank.', true);
?>
" );
    document.editnonuser.nfirstname.focus ();
    return false;
  }

  check_name ();

  return validform;

}

function check_name () {
  var url = 'ajax.php';
  var params = 'page=edit_nonuser&name=' + $F('calid');
开发者ID:rhertzog,项目名称:lcs,代码行数:31,代码来源:edit_nonuser.php


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