Diff
checker
Text
Text
Images
Documents
Excel
Folders
Legal
Enterprise
Desktop
Pricing
Sign in
Download Diffchecker Desktop
Compare text
Find the difference between two text files
Tools
History
Real-time editor
Hide whitespace changes
Hide unchanged lines
Disable line wrap
Layout
Split
Unified
Diff precision
Smart
Word
Char
Text styles
Change appearance
Syntax highlighting
Choose syntax
Ignore
Transform text
Go to first change
Edit input
Diffchecker Desktop
The most secure way to run Diffchecker. Get the Diffchecker Desktop app: your diffs never leave your computer!
Get Desktop
Untitled diff
Created
9 years ago
Diff never expires
Clear
Export
Share
Explain
0 removals
Lines
Total
Removed
Characters
Total
Removed
To continue using this feature, upgrade to
Diff
checker
Pro
View Pricing
64 lines
Copy
1 addition
Lines
Total
Added
Characters
Total
Added
To continue using this feature, upgrade to
Diff
checker
Pro
View Pricing
64 lines
Copy
<?php
<?php
/*##################################################
/*##################################################
* BlogExtensionPointProvider.class.php
* BlogExtensionPointProvider.class.php
* -------------------
* -------------------
* begin : November 04, 2014
* begin : November 04, 2014
* copyright : (C) 2014 Anthony VIOLET
* copyright : (C) 2014 Anthony VIOLET
* email : anthony.violet@outlook.fr
* email : anthony.violet@outlook.fr
*
*
*
*
###################################################
###################################################
*
*
* This program is free software; you can redistribute it and/or modify
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
* (at your option) any later version.
*
*
* This program is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* GNU General Public License for more details.
*
*
* You should have received a copy of the GNU General Public License
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
*
###################################################*/
###################################################*/
class BlogExtensionPointProvider extends ExtensionPointProvider
class BlogExtensionPointProvider extends ExtensionPointProvider
{
{
public function __construct()
public function __construct()
{
{
parent::__construct('blog');
parent::__construct('blog');
}
}
public function menus()
public function menus()
{
{
return new ModuleMenus(array(
return new ModuleMenus(array(
new BlogModuleMiniMenu()
new BlogModuleMiniMenu()
));
));
}
}
public function comments()
public function comments()
{
{
return new CommentsTopics(array(new BlogCommentsTopic()));
return new CommentsTopics(array(new BlogCommentsTopic()));
}
}
public function url_mappings()
public function url_mappings()
{
{
Copy
Copied
Copy
Copied
return new UrlMappings(array(new DispatcherUrlMapping('
/index.php')));
return new UrlMappings(array(new DispatcherUrlMapping('
/blog
/index.php')));
}
}
public function css_files()
public function css_files()
{
{
$module_css_files = new ModuleCssFiles();
$module_css_files = new ModuleCssFiles();
$module_css_files->adding_running_module_displayed_file('blog.css');
$module_css_files->adding_running_module_displayed_file('blog.css');
return $module_css_files;
return $module_css_files;
}
}
public function tree_links()
public function tree_links()
{
{
return new BlogTreeLinks();
return new BlogTreeLinks();
}
}
}
}
?>
?>
Saved diffs
Original text
Open file
<?php /*################################################## * BlogExtensionPointProvider.class.php * ------------------- * begin : November 04, 2014 * copyright : (C) 2014 Anthony VIOLET * email : anthony.violet@outlook.fr * * ################################################### * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ###################################################*/ class BlogExtensionPointProvider extends ExtensionPointProvider { public function __construct() { parent::__construct('blog'); } public function menus() { return new ModuleMenus(array( new BlogModuleMiniMenu() )); } public function comments() { return new CommentsTopics(array(new BlogCommentsTopic())); } public function url_mappings() { return new UrlMappings(array(new DispatcherUrlMapping('/index.php'))); } public function css_files() { $module_css_files = new ModuleCssFiles(); $module_css_files->adding_running_module_displayed_file('blog.css'); return $module_css_files; } public function tree_links() { return new BlogTreeLinks(); } } ?>
Changed text
Open file
<?php /*################################################## * BlogExtensionPointProvider.class.php * ------------------- * begin : November 04, 2014 * copyright : (C) 2014 Anthony VIOLET * email : anthony.violet@outlook.fr * * ################################################### * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ###################################################*/ class BlogExtensionPointProvider extends ExtensionPointProvider { public function __construct() { parent::__construct('blog'); } public function menus() { return new ModuleMenus(array( new BlogModuleMiniMenu() )); } public function comments() { return new CommentsTopics(array(new BlogCommentsTopic())); } public function url_mappings() { return new UrlMappings(array(new DispatcherUrlMapping('/blog/index.php'))); } public function css_files() { $module_css_files = new ModuleCssFiles(); $module_css_files->adding_running_module_displayed_file('blog.css'); return $module_css_files; } public function tree_links() { return new BlogTreeLinks(); } } ?>
Find difference