21 lines
619 B
Plaintext
21 lines
619 B
Plaintext
|
<%@ Control Language="C#" %>
|
||
|
<script runat="server">
|
||
|
protected override void OnPreRender(EventArgs e)
|
||
|
{
|
||
|
base.OnPreRender(e);
|
||
|
BasePage bp = this.Page as BasePage;
|
||
|
if (bp != null && string.IsNullOrEmpty(bp.Title))
|
||
|
{
|
||
|
string title = "ONLYOFFICE - Applicazioni per ufficio nel cloud";
|
||
|
|
||
|
if (!string.IsNullOrEmpty(bp.PageTitle))
|
||
|
{
|
||
|
bp.Title = string.Format("{0} - online office", bp.PageTitle, title);
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
bp.Title = title;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
</script>
|