Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
$page_data->breadcrumb = WidgetBreadcrumb::output(
array(
$instance,
tr('Delete', 'deletedialog')
GyroString::escape(tr('Delete', 'deletedialog'))
)
);
?>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
$page_data->breadcrumb = WidgetBreadcrumb::output(
array(
$instance,
tr('Delete', 'deletedialog')
GyroString::escape(tr('Delete', 'deletedialog'))
)
);
?>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
$title = tr('Your Notifications', 'notifications');
$page_data->head->title = $title;
$page_data->breadcrumb = WidgetBreadcrumb::output($title);
$page_data->breadcrumb = WidgetBreadcrumb::output(GyroString::escape($title));
?>
<h1><?=$title?></h1>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
$page_data->head->title = $title;
$page_data->breadcrumb = WidgetBreadcrumb::output(array(
WidgetActionLink::output(tr('Your Notifications', 'notifications'), 'users_notifications'),
tr('Settings', 'notifications')
GyroString::escape(tr('Settings', 'notifications'))
));
?>
<h1><?=$title?></h1>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
$page_data->breadcrumb = WidgetBreadcrumb::output(
array(
WidgetActionLink::output('Users', 'users_list_all'),
$title
GyroString::escape($title)
)
);
?>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
$page_data->head->robots_index = ROBOTS_NOINDEX;
$page_data->head->title = $page_title;
$page_data->breadcrumb = WidgetBreadcrumb::output(
tr('Your personal site', 'users')
GyroString::escape(tr('Your personal site', 'users'))
);
?>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/* @var $page_data PageData */
$page_data->head->title = tr('Edit your account settings', 'users');
$page_data->breadcrumb = WidgetBreadcrumb::output(array(
tr('Change Account Data', 'users')
GyroString::escape(tr('Change Account Data', 'users'))
))
?>
<h1><?=tr('Change Account Data', 'users')?></h1>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

$title = tr('Users List', 'users');
$page_data->breadcrumb = WidgetBreadcrumb::output(
$title
GyroString::escape($title)
);
?>
<h1><?=$title?></h1>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
$title = tr('Login', 'users');
$page_data->head->title = $title;
$page_data->breadcrumb = WidgetBreadcrumb::output(
$title
GyroString::escape($title)
);
?>
<h1><?=$title?></h1>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
$title = tr('Lost Password', 'users');
$page_data->head->title = $title;
$page_data->breadcrumb = WidgetBreadcrumb::output(
$title
GyroString::escape($title)
);
?>
<h1><?=$title?></h1>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
$title = tr('Become a member', 'users');
$page_data->head->title = $title;
$page_data->breadcrumb = WidgetBreadcrumb::output(
$title
GyroString::escape($title)
);?>

<h1><?=$title;?></h1>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
$page_data->head->robots_index = ROBOTS_NOINDEX_FOLLOW;

$page_data->breadcrumb = WidgetBreadcrumb::output(
$title
GyroString::escape($title)
);
?>
<h1><?=$title?></h1>
Expand Down
2 changes: 1 addition & 1 deletion gyro/core/view/widgets/actionlink.widget.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class WidgetActionLink implements IWidget {
/**
* @param string|ISelfDescribing $text The content of the anchor to create. Gets escaped if instance of ISelfDescribing, else it is printed as given
* @param string $action The action to retrieve URL for
* @param array|null $params The parameters for aboev action
* @param array|null $params The parameters for above action
* @param array $html_attrs Attributes to pass to HTML anchor. If a gyro_query is passed, this is added as query to the generated action URL
* @return string
*/
Expand Down