Skip to content

Commit

Permalink
*8240* Fix disable_path_info mode (for OMP HEAD pre-1.1)
Browse files Browse the repository at this point in the history
  • Loading branch information
asmecher committed Jun 3, 2013
1 parent 73bfc83 commit 7c2e40d
Show file tree
Hide file tree
Showing 16 changed files with 19 additions and 21 deletions.
4 changes: 1 addition & 3 deletions plugins/generic/addThis/statistics.tpl
Expand Up @@ -15,9 +15,7 @@
<p>{translate key="plugins.generic.addThis.statistics.instructions"}</p>

<form class="pkp_form" id="statisticsDisplayForm">

{url|assign:addThisStatisticsGridUrl router=$smarty.const.ROUTE_COMPONENT component="grid.settings.plugins.SettingsPluginGridHandler" op="plugin" category="generic" plugin="AddThisPlugin" verb="showStatistics" escape=false}
{load_url_in_div id="addThisStatisticsGridContainer" url="$addThisStatisticsGridUrl"}
{fbvElement type="button" id="cancelFormButton" label="common.close"}

</form>
</form>
2 changes: 1 addition & 1 deletion templates/admin/contexts.tpl
Expand Up @@ -27,7 +27,7 @@
</div>
{/if}

{url|assign:contextsUrl router=$smarty.const.ROUTE_COMPONENT component="grid.admin.press.PressGridHandler" op="fetchGrid"}
{url|assign:contextsUrl router=$smarty.const.ROUTE_COMPONENT component="grid.admin.press.PressGridHandler" op="fetchGrid" escape=false}
{load_url_in_div id="contextGridContainer" url=$contextsUrl}
</div>

Expand Down
2 changes: 1 addition & 1 deletion templates/catalog/index.tpl
Expand Up @@ -12,7 +12,7 @@
{/strip}

{* Include the carousel view of featured content *}
{url|assign:carouselUrl router=$smarty.const.ROUTE_COMPONENT component="carousel.CarouselHandler" op="fetch"}
{url|assign:carouselUrl router=$smarty.const.ROUTE_COMPONENT component="carousel.CarouselHandler" op="fetch" escape=false}
{load_url_in_div id="carousel" url=$carouselUrl}

{* Include the full monograph list *}
Expand Down
Expand Up @@ -35,7 +35,7 @@

<!-- Available files listbuilder -->
{if $fileStage == $smarty.const.SUBMISSION_FILE_COPYEDIT}
{url|assign:filesListbuilderUrl router=$smarty.const.ROUTE_COMPONENT component="listbuilder.files.CopyeditingFilesListbuilderHandler" op="fetch" submissionId=$submissionId}
{url|assign:filesListbuilderUrl router=$smarty.const.ROUTE_COMPONENT component="listbuilder.files.CopyeditingFilesListbuilderHandler" op="fetch" submissionId=$submissionId escape=false}
{assign var="filesListbuilderId" value="copyeditingFilesListbuilder"}
{else $fileStage == $smarty.const.SUBMISSION_FILE_PROOF}
{url|assign:filesListbuilderUrl router=$smarty.const.ROUTE_COMPONENT component="listbuilder.files.ProofFilesListbuilderHandler" op="fetch" submissionId=$submissionId publicationFormatId=$publicationFormatId escape=false}
Expand Down
Expand Up @@ -66,7 +66,7 @@
{fbvFormSection for="context" inline=true size=$fbvStyles.size.MEDIUM}
{if $categoryCount > 0}
<div id="seriesCategoriesContainer">
{url|assign:seriesCategoriesUrl router=$smarty.const.ROUTE_COMPONENT component="listbuilder.settings.CategoriesListbuilderHandler" op="fetch" seriesId=$seriesId}
{url|assign:seriesCategoriesUrl router=$smarty.const.ROUTE_COMPONENT component="listbuilder.settings.CategoriesListbuilderHandler" op="fetch" seriesId=$seriesId escape=false}
{load_url_in_div id="seriesCategoriesContainer" url=$seriesCategoriesUrl}
</div>
{/if}
Expand All @@ -75,7 +75,7 @@
{fbvFormSection for="context" inline=true size=$fbvStyles.size.MEDIUM}
{if $seriesEditorCount > 0}{* only include the series editor listbuilder if there are series editors available *}
<div id="seriesEditorsContainer">
{url|assign:seriesEditorsUrl router=$smarty.const.ROUTE_COMPONENT component="listbuilder.settings.SeriesEditorsListbuilderHandler" op="fetch" seriesId=$seriesId}
{url|assign:seriesEditorsUrl router=$smarty.const.ROUTE_COMPONENT component="listbuilder.settings.SeriesEditorsListbuilderHandler" op="fetch" seriesId=$seriesId escape=false}
{load_url_in_div id="seriesEditorsContainer" url=$seriesEditorsUrl}
</div>
{/if}
Expand Down
Expand Up @@ -55,7 +55,7 @@
<!-- Chapters -->
{if $isEditedVolume}
{assign var="chaptersGridContainer" value="authorsGridContainer-"|uniqid|escape}
{url|assign:chaptersGridUrl router=$smarty.const.ROUTE_COMPONENT component="grid.users.chapter.ChapterGridHandler" op="fetchGrid" submissionId=$submissionId}
{url|assign:chaptersGridUrl router=$smarty.const.ROUTE_COMPONENT component="grid.users.chapter.ChapterGridHandler" op="fetchGrid" submissionId=$submissionId escape=false}
{load_url_in_div id=$chaptersGridContainer url="$chaptersGridUrl"}
{/if}
{/if}
Expand Down
Expand Up @@ -40,7 +40,7 @@
<!-- Chapters -->
{if $isEditedVolume}
{assign var="chaptersGridContainer" value="chaptersGridContainer-"|uniqid|escape}
{url|assign:chaptersGridUrl router=$smarty.const.ROUTE_COMPONENT component="grid.users.chapter.ChapterGridHandler" op="fetchGrid" submissionId=$submissionId}
{url|assign:chaptersGridUrl router=$smarty.const.ROUTE_COMPONENT component="grid.users.chapter.ChapterGridHandler" op="fetchGrid" submissionId=$submissionId escape=false}
{load_url_in_div id=$chaptersGridContainer url="$chaptersGridUrl"}
{/if}
{/if}
Expand Down
Expand Up @@ -58,7 +58,7 @@
{fbvFormSection description="grid.catalogEntry.representativesDescription"}
<!-- Representatives -->
{assign var="divId" value="representativesGridContainer"|concat:$publicationFormatId|escape}
{url|assign:representativesGridUrl router=$smarty.const.ROUTE_COMPONENT component="grid.catalogEntry.RepresentativesGridHandler" op="fetchGrid" submissionId=$submissionId}
{url|assign:representativesGridUrl router=$smarty.const.ROUTE_COMPONENT component="grid.catalogEntry.RepresentativesGridHandler" op="fetchGrid" submissionId=$submissionId escape=false}
{load_url_in_div id="$divId" url="$representativesGridUrl"}
{/fbvFormSection}
{/fbvFormArea}
Expand Down
6 changes: 3 additions & 3 deletions templates/dashboard/submissions.tpl
Expand Up @@ -9,18 +9,18 @@

<!-- Author and editor submissions grid -->
{if array_intersect(array(ROLE_ID_AUTHOR, ROLE_ID_MANAGER, ROLE_ID_SUB_EDITOR), $userRoles)}
{url|assign:mySubmissionsListGridUrl router=$smarty.const.ROUTE_COMPONENT component="grid.submissions.mySubmissions.MySubmissionsListGridHandler" op="fetchGrid"}
{url|assign:mySubmissionsListGridUrl router=$smarty.const.ROUTE_COMPONENT component="grid.submissions.mySubmissions.MySubmissionsListGridHandler" op="fetchGrid" escape=false}
{load_url_in_div id="mySubmissionsListGridContainer" url="$mySubmissionsListGridUrl"}
{/if}

<!-- Unassigned submissions grid: If the user is a press manager or a series editor, then display these submissions which have not been assigned to anyone -->
{if array_intersect(array(ROLE_ID_MANAGER, ROLE_ID_SUB_EDITOR), $userRoles)}
{url|assign:unassignedSubmissionsListGridUrl router=$smarty.const.ROUTE_COMPONENT component="grid.submissions.unassignedSubmissions.UnassignedSubmissionsListGridHandler" op="fetchGrid"}
{url|assign:unassignedSubmissionsListGridUrl router=$smarty.const.ROUTE_COMPONENT component="grid.submissions.unassignedSubmissions.UnassignedSubmissionsListGridHandler" op="fetchGrid" escape=false}
{load_url_in_div id="unassignedSubmissionsListGridContainer" url="$unassignedSubmissionsListGridUrl"}
{/if}

<!-- Assigned submissions grid: Show all submissions the user is assigned to (besides their own) -->
{if array_intersect(array(ROLE_ID_SITE_ADMIN, ROLE_ID_MANAGER, ROLE_ID_SUB_EDITOR, ROLE_ID_REVIEWER, ROLE_ID_ASSISTANT), $userRoles)}
{url|assign:assignedSubmissionsListGridUrl router=$smarty.const.ROUTE_COMPONENT component="grid.submissions.assignedSubmissions.AssignedSubmissionsListGridHandler" op="fetchGrid"}
{url|assign:assignedSubmissionsListGridUrl router=$smarty.const.ROUTE_COMPONENT component="grid.submissions.assignedSubmissions.AssignedSubmissionsListGridHandler" op="fetchGrid" escape=false}
{load_url_in_div id="assignedSubmissionsListGridContainer" url="$assignedSubmissionsListGridUrl"}
{/if}
2 changes: 1 addition & 1 deletion templates/dashboard/tasks.tpl
Expand Up @@ -38,5 +38,5 @@
</form>
<div class="pkp_helpers_clear"></div>

{url|assign:notificationsGridUrl router=$smarty.const.ROUTE_COMPONENT component="grid.notifications.NotificationsGridHandler" op="fetchGrid"}
{url|assign:notificationsGridUrl router=$smarty.const.ROUTE_COMPONENT component="grid.notifications.NotificationsGridHandler" op="fetchGrid" escape=false}
{load_url_in_div id="notificationsGrid" url=$notificationsGridUrl}
2 changes: 1 addition & 1 deletion templates/index/press.tpl
Expand Up @@ -33,7 +33,7 @@
{/if}

{* Include the carousel view of featured content *}
{url|assign:carouselUrl router=$smarty.const.ROUTE_COMPONENT component="carousel.CarouselHandler" op="fetch"}
{url|assign:carouselUrl router=$smarty.const.ROUTE_COMPONENT component="carousel.CarouselHandler" op="fetch" escape=false}
{load_url_in_div id="carousel" url=$carouselUrl}

{if $spotlights|@count > 0}
Expand Down
2 changes: 1 addition & 1 deletion templates/manageCatalog/index.tpl
Expand Up @@ -139,7 +139,7 @@
{if $isManager}
<div id="spotlightsTab">
<p>{translate key="catalog.manage.spotlightDescription"}</p>
{url|assign:spotlightsGridUrl router=$smarty.const.ROUTE_COMPONENT component="grid.content.spotlights.ManageSpotlightsGridHandler" op="fetchGrid"}
{url|assign:spotlightsGridUrl router=$smarty.const.ROUTE_COMPONENT component="grid.content.spotlights.ManageSpotlightsGridHandler" op="fetchGrid" escape=false}
{load_url_in_div id="spotlightsGridContainer" url="$spotlightsGridUrl"}
</div>
{/if}
Expand Down
2 changes: 1 addition & 1 deletion templates/management/categories.tpl
Expand Up @@ -14,7 +14,7 @@
{rdelim});
</script>
<form class="pkp_form" id="categoriesGridFormContainer">
{url|assign:categoriesUrl router=$smarty.const.ROUTE_COMPONENT component="grid.settings.category.CategoryCategoryGridHandler" op="fetchGrid"}
{url|assign:categoriesUrl router=$smarty.const.ROUTE_COMPONENT component="grid.settings.category.CategoryCategoryGridHandler" op="fetchGrid" escape=false}
{load_url_in_div id="categoriesContainer" url=$categoriesUrl}
<div class="pkp_helpers_align_right">
{fbvElement type="button" label="common.close" id="cancelFormButton"}
Expand Down
2 changes: 1 addition & 1 deletion templates/management/series.tpl
Expand Up @@ -14,7 +14,7 @@
{rdelim});
</script>
<form class="pkp_form" id="seriesGridFormContainer">
{url|assign:seriesGridUrl router=$smarty.const.ROUTE_COMPONENT component="grid.settings.series.SeriesGridHandler" op="fetchGrid"}
{url|assign:seriesGridUrl router=$smarty.const.ROUTE_COMPONENT component="grid.settings.series.SeriesGridHandler" op="fetchGrid" escape=false}
{load_url_in_div id="seriesGridContainer" url=$seriesGridUrl}
<div class="pkp_helpers_align_right">
{fbvElement type="button" label="common.close" id="cancelFormButton"}
Expand Down
2 changes: 1 addition & 1 deletion templates/submission/form/step3.tpl
Expand Up @@ -9,7 +9,7 @@
{capture assign="additionalContributorsFields"}
<!-- Chapters -->
{if $isEditedVolume}
{url|assign:chaptersGridUrl router=$smarty.const.ROUTE_COMPONENT component="grid.users.chapter.ChapterGridHandler" op="fetchGrid" submissionId=$submissionId}
{url|assign:chaptersGridUrl router=$smarty.const.ROUTE_COMPONENT component="grid.users.chapter.ChapterGridHandler" op="fetchGrid" submissionId=$submissionId escape=false}
{load_url_in_div id="chaptersGridContainer" url="$chaptersGridUrl"}
{/if}
{/capture}
Expand Down
2 changes: 1 addition & 1 deletion templates/workflow/production.tpl
Expand Up @@ -35,7 +35,7 @@
{fbvFormArea id="publicationFormats"}
{fbvFormSection}
<!-- Formats -->
{url|assign:formatGridUrl router=$smarty.const.ROUTE_COMPONENT component="grid.catalogEntry.PublicationFormatGridHandler" op="fetchGrid" submissionId=$submission->getId()}
{url|assign:formatGridUrl router=$smarty.const.ROUTE_COMPONENT component="grid.catalogEntry.PublicationFormatGridHandler" op="fetchGrid" submissionId=$submission->getId() escape=false}
{load_url_in_div id="formatsGridContainer"|uniqid url=$formatGridUrl}
{/fbvFormSection}
{/fbvFormArea}
Expand Down

0 comments on commit 7c2e40d

Please sign in to comment.