File: D:/HostingSpaces/PvdBoogaard/indoorski.nl/backup/oude-site/cms/admin/templates/dashboard.tpl
{template="header"}
<script type="text/javascript" src="../javascript/admin.upgrade.js"></script>
<script type="text/javascript">
// set variables that can't be loaded in the javascript file
var currentAppVersion = '{$CurrentVersion}';
if('{if $config.UpgradeErrors}1{else}0{/if}' == '1') {
$(document).ready(function() {
Upgrade.ErrorWindow();
});
}else if('{$ShowUpgradeWizard}' == '1'){
$(document).ready(function() {
Upgrade.LaunchWizard();
});
}
{if $ShowVersionSection && $DoVersionCheck}
var DashboardShowVersionCheck = true;
{else}
var DashboardShowVersionCheck = false;
{/if}
</script>
<script type="text/javascript" src="{$config.siteURL}/js.php?f=admin.dashboard&a=1"></script>
<div class="BodyContainer DashboardContainer">
<div class="Heading1">{$lang.DashboardWelcome|sprintf,$LoggedInAs}</div>
<p></p>
{if $HomePageMessage != null}
<div class="VersionAlertContainer DashboardPanel {if $HomePageMessageType == MSG_ERROR}DashboardPanelRed{elseif $HomePageMessageType == MSG_WARNING}DashboardPanelYellow{else}DashboardPanelBlue{/if} DashboardMessage {if $HomePageMessageType == MSG_ERROR}DashboardMessageError{elseif $HomePageMessageType == MSG_WARNING}DashboardMessageWarning{else}DashboardMessageInfo{/if}" >
<div class="DashboardPanelInner">
{$HomePageMessage}
</div>
</div>
{/if}
{if $ShowVersionSection && $DoVersionCheck}
<div class="VersionAlertContainer DashboardPanel DashboardPanelBlue DashboardMessage DashboardMessageInfo" style="display:none;">
<div class="DashboardPanelInner">
<span class="VersionAlertMessage">{$lang.NewVersionMessage}</span> {$lang.VersionAlertLinks}
</div>
</div>
{/if}
{if $hasServerWarnings}
{foreach from=$serverWarnings item=row}
<div class="VersionAlertContainer DashboardPanel DashboardPanelYellow DashboardMessage DashboardMessageWarning" >
<div class="DashboardPanelInner">
{$row}
</div>
</div>
{/foreach}
{/if}
{if $hasServerErrors}
{foreach from=$serverErrors item=row}
<div class="VersionAlertContainer DashboardPanel DashboardPanelRed DashboardMessage DashboardMessageError" >
<div class="DashboardPanelInner">
{$row}
</div>
</div>
{/foreach}
{/if}
<p></p>
<table cellspacing="0" class="DashboardLayoutTable">
<tr>
<td valign="top" class="DashboardColumn DashboardColumnLeft">
<div class="DashboardPanel DashboardPanelBlue DashboardPanelGetStarted">
<div class="DashboardPanelInner">
<div class="DashboardPanelInnerGetStarted" {if $DashboardHide_DashboardPanelInnerGetStarted}style="display:none;"{/if}>
<h3>{$lang.LetsGetStartedElipsis}</h3>
<div class="DashboardHideLink" id="DashboardHideLink_DashboardPanelInnerGetStarted"><a href="#"><span>{$lang.switchtocommontasks}</span></a></div>
<div class="GetStartedList">
<div class="GetStartedItem {if $config.GettingStartedChooseTemplate}GetStartedItemDone{/if}"><span class="GetStartedIcon"><span>1</span></span> <span class="GetStartedLabel">{$lang.homeGettingStartedChooseTemplate}</span></div>
<div class="GetStartedItem {if $config.GettingStartedUploadLogo}GetStartedItemDone{/if}"><span class="GetStartedIcon"><span>2</span></span> <span class="GetStartedLabel">{$lang.homeGettingStartedUploadLogo}</span></div>
<div class="GetStartedItem {if $config.GettingStartedCreateContentTypes}GetStartedItemDone{/if}"><span class="GetStartedIcon"><span>3</span></span> <span class="GetStartedLabel">{$lang.homeGettingStartedCreateContentTypes}</span></div>
<div class="GetStartedItem {if $config.GettingStartedCreateContent}GetStartedItemDone{/if}"><span class="GetStartedIcon"><span>4</span></span> <span class="GetStartedLabel">{$lang.homeGettingStartedCreateContent}</span></div>
<div class="GetStartedItem {if $config.GettingStartedSiteLayout}GetStartedItemDone{/if}"><span class="GetStartedIcon"><span>5</span></span> <span class="GetStartedLabel">{$lang.homeGettingStartedSiteLayout}</span></div>
</div>
</div>
<div class="DashboardPanelInnerWhatsNext" {if !$DashboardHide_DashboardPanelInnerGetStarted}style="display:none;"{/if}>
<h3>{$lang.WhatsNext}</h3>
<div class="DashboardShowLink" id="DashboardShowLink_DashboardPanelInnerGetStarted"><a href="#"><span>{$lang.switchtogettingstarted}</span></a></div>
<div class="DynCreateContentOut">
{if count($ContentTypeList)}
<a href="#" class="ShowCreateContent"><img src="images/dashboard/but-create-content.gif" /></a>
<div class="DynCreateContentOver" style="display:none;">
<a href="#" class="ShowCreateContent"><img src="images/dashboard/but-create-content-rollover-corrected.gif" /></a><br />
<div>
<ul>
{foreach from=$ContentTypeList item=row}
<li><a href="index.php?section=content&action=create&typeid={$row.typeid}">Create {$row.an|iwp_strtolower} {$row.name_singular|iwp_htmlspecialchars}</a></li>
{/foreach}
</ul>
</div>
</div>
{else}
<img src="images/dashboard/but-create-content-gray.gif" onclick="alert('{$lang.CreateContentNoPermission_All|iwp_FilterJavascriptString,false}');" style="cursor: pointer;" />
{/if}
</div>
<div class="DynViewCommentsOut">
{if $CommentsActivated}
{if iwp_HasPerm('sitemodules', 'comments', '*')}
<a href="#" class="ShowViewComments"><img src="images/dashboard/but-view-comments.gif" /></a>
<div class="DynViewCommentsOver" style="display:none;">
<a href="#" class="ShowViewComments"><img src="images/dashboard/but-view-comments-rollover.gif" /></a><br />
<div>
<ul>
{foreach from=$CommentsDropdown item=row}
<li><a href="{$row.link|iwp_htmlspecialchars}">{$row.text|iwp_htmlspecialchars}</a></li>
{/foreach}
</ul>
</div>
</div>
{else}
<img src="images/dashboard/but-view-comments-gray.gif" onclick="alert('{$lang.YouDoNotHaveAccessToComments|iwp_FilterJavascriptString,false}');" style="cursor: pointer;" />
{/if}
{else}
<img src="images/dashboard/but-view-comments-gray.gif" onclick="alert('{$lang.TheCommentsModuleIsNotActivated|iwp_FilterJavascriptString,false}');" style="cursor: pointer;" />
{/if}
</div>
<div style="clear:both;"></div>
<h3 class="AtAGlanceHeader">{$lang.YourContentAtAGlanceElipsis}</h3>
<div class="AtAGlanceList">
{foreach from=$AtAGlanceList item=row}
<div class="AtAGlance">
<div class="AtAGlanceIcon"><div class="AtAGlanceIconInner"><div><a href="{$row.link|iwp_htmlspecialchars}">{$row.count|number_format}</a></div></div></div>
<a href="{$row.link|iwp_htmlspecialchars}">{$row.text|iwp_htmlspecialchars}</a>
</div>
{/foreach}
</div>
<div style="clear:both;"></div>
</div>
</div>
{* hidden for beta
<div class="DashboardPanelInner DashboardPannelInnerLearnMore" {if $DashboardHide_DashboardPannelInnerLearnMore}style="display:none;"{/if}>
<h3>{$lang.LearnmoreaboutusingWebsitePublisher}</h3>
<div class="DashboardHideLink" id="DashboardHideLink_DashboardPannelInnerLearnMore"><a href="#"><span>hide this</span></a></div>
<table cellspacing="0" class="LearnMoreList">
<tr>
<th valign="top"><a href="#"><img src="images/dashboard/gettingstarted-vid.gif" /></a></td>
<td valign="top"><a href="#">{$lang.Watchthegettingstartedvideos}</a></td>
<th valign="top"><a href="#"><img src="images/dashboard/gettingstarted-guide.gif" /></a></td>
<td valign="top"><a href="#">{$lang.Readourgettingstartedguide}</a></td>
</tr>
</table>
</div>
*}
{$InfoImage}
</div>
{if count($RecentActivity)}
<a name="RecentActivity"></a>
<div class="DashboardPanel DashboardPanelGrey DashboardPanelRecentActivity">
<div class="DashboardPanelInner">
<h3>{$lang.RecentActivity}</h3>
<ul class="ActivityList">
{foreach from=$RecentActivity item=row}
{template="dashboard.activity.row"}
{/foreach}
</ul>
</div>
</div>
{/if}
</td>
<td valign="top" class="DashboardColumn DashboardColumnRight">
{if count($PendingList)}
<div class="DashboardPanel DashboardPanelYellow DashboardPanelPending"><div class="DashboardPanelInner">
<h3>{$lang.PendingElipsis}</h3>
<ul class="PendingList">
{foreach from=$PendingList item=row}
<li class="{$row.className|iwp_htmlspecialchars}"><a href="{$row.link|iwp_htmlspecialchars}">{$row.text|iwp_htmlspecialchars}</a></li>
{/foreach}
</ul>
</div></div>
{/if}
<div class="DashboardPanel DashboardPanelGrey DashboardPanelComments"><div class="DashboardPanelInner">
<h3>{$lang.RecentComments}</h3>
{if $CommentsActivated}
{if count($RecentComments)}
<ul class="CommentsList">
{foreach from=$RecentComments item=row}
<li>
{capture name=subjecttext}{$row.subjecttext|iwp_htmlspecialchars}{/capture}
{capture name=usertext}{$row.usertext|iwp_htmlspecialchars}{/capture}
{capture name=scope_lang}{$row.scope_lang|iwp_htmlspecialchars}{/capture}
{capture name=subjecttext}{$subjecttext|elipsize,100}{/capture}
{$row.action_lang|sprintf,$row.subject_url,$row.subjectid,$subjecttext,$row.user_url,$row.userid,$usertext,$row.source,$row.scope,$scope_lang,$row.colour,$row.action,$row.activitydate,$row.activityid}
<span class="Timeframe" title="{$row.activitydate|iwp_htmlspecialchars}">({$row.activitydate_relative|iwp_htmlspecialchars})</span>
</li>
{/foreach}
</ul>
{else}
<p>{$lang.Nocommentshavebeenpostedyet}</p>
{/if}
{else}
<p>{$lang.Thecommentsmoduleisnotactivated}</p>
{/if}
</div></div>
<div class="DashboardPanel DashboardPanelGrey DashboardPanelHelp"></div>
<img src="images/1x1.gif" class="DashboardColumnRightSpacer" /><br />
</td>
</tr>
</table>
</div>
{template="footer"}