100+ results for 'The base configurations of the WordPress'

Not the results you expected?

DataSource.php (https://github.com/spadefoot/kohana-orm-leap.git) PHP · 282 lines

4 * Copyright © 2011–2013 Spadefoot Team.

5 *

6 * Unless otherwise noted, LEAP is licensed under the Apache License,

7 * Version 2.0 (the "License"); you may not use this file except in

8 * compliance with the License. You may obtain a copy of the License

9 * at:

10 *

46

47 /**

48 * This variable stores the settings for the data source.

49 *

50 * @access protected

238 * @param string $path the path to be used

239 * @return mixed the configuration settings for the

240 * specified path

241 */

RoomInfo.java (https://bitbucket.org/ustyugov/jtalk.git) Java · 192 lines

36

37 /**

38 * JID of the room. The node of the JID is commonly used as the ID of the room or name.

39 */

40 private String room;

80 super();

81 this.room = info.getFrom();

82 // Get the information based on the discovered features

83 this.membersOnly = info.containsFeature("muc_membersonly");

84 this.moderated = info.containsFeature("muc_moderated");

123

124 /**

125 * Returns the discovered subject of the room. The subject may be empty if the room does not

126 * have a subject.

127 *

test_suite.rst (https://github.com/welaika/wordless.git) ReStructuredText · 101 lines

35 * ``test/`` folder. This is where your test suites lay.

36

37 * PHP dependencies declared in ``composer.json`` file shipped within the theme. This will create a ``/vendor`` folder inside the theme whilist ``yarn setup`` task

38

39 * custom ``wp-config.php``. This will be helpful to autodymagically (automatically, dynamically, magically; just in case you were wondering 🙄) switch from development to test database whilist test suite execution

41 * 2 test related node scripts: ``yarn test:server`` and ``yarn test``. Obviously declared inside ``package.json``

42

43 * a test database on your local machine called ``$THEME_NAME_test`` (where ``$THEME_NAME`` is the chosen name during Wordless' installation process) is created whilist ``yarn setup`` task

44

45 * *ad hoc* ``Procfile.testing``, ``.env.testing`` and ``.env.ci``

80 We ship default configuration for GitLab by putting a ``.gitlab-ci.yml`` file in you project's root folder.

81

82 That is configured to run out-of-the-box. And if you use other CI's products you can use it as a starting point for your own configuration and then delete it without any regard :)

83

84 Troubleshooting

PollingProvider.js (https://github.com/gilles-danjou/sencha-wakanda.git) JavaScript · 172 lines

8

9 GNU General Public License Usage

10 This file may be used under the terms of the GNU General Public License version 3.0 as published by the Free Software Foundation and appearing in the file LICENSE included in the packaging of this file. Please review the following information to ensure the GNU General Public License version 3.0 requirements will be met: http://www.gnu.org/copyleft/gpl.html.

11

12 If you are unsure which license is appropriate for your use, please contact the sales department at http://www.sencha.com/contact.

19 * <p>Provides for repetitive polling of the server at distinct {@link #interval intervals}.

20 * The initial request for data originates from the client, and then is responded to by the

21 * server.</p>

22 *

23 * <p>All configurations for the PollingProvider should be generated by the server-side

24 * API portion of the Ext.Direct stack.</p>

136

137 /**

138 * Disconnect from the server-side and stop the polling process. The disconnect

139 * event will be fired on a successful disconnect.

140 */

NaiveEmitter.cpp (https://github.com/onedayitwillmake/NaiveEmitter.git) C++ · 147 lines

8 * - Select Project -> Clean...

9 *

10 * - If change the project name, you have to tell the debugger where the new one is:

11 * Go into Run -> Debug Configurations

12 * Set where the application lives to something like this

13 * Debug/{APPNAME}/Contents/MacOS/{APPNAME}

14 *

87

88 void NaiveEmitter::draw() {

89 // clear out the window with black

90 ci::Color aColor = ci::Color( 0, 0, 0 );

91 ci::gl::clear( ci::Color( 0, 0, 0 ) );

wp-config.php (https://github.com/lixinyang/weixiao001.com.git) PHP · 90 lines

1 <?php

2 /**

3 * The base configurations of the WordPress.

4 *

5 * This file has the following configurations: MySQL settings, Table Prefix,

16

17 // ** MySQL settings - You can get this info from your web host ** //

18 /** The name of the database for WordPress */

19 define('DB_NAME', 'weixiao');

20

28 define('DB_HOST', 'localhost');

29

30 /** Database Charset to use in creating database tables. */

31 define('DB_CHARSET', 'utf8');

32

39 * Change these to different unique phrases!

40 * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}

41 * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.

wp-config.php.j2 (https://gitlab.com/elena-bo/test) Jinja · 65 lines

1 <?php

2 /**

3 * The base configurations of the WordPress.

4 *

5 * This file has the following configurations: MySQL settings, Table Prefix,

15 */

16 // ** MySQL settings - You can get this info from your web host ** //

17 /** The name of the database for WordPress */

18 define('DB_NAME', '{{wp_db_name}}');

19 /** MySQL database username */

23 /** MySQL hostname */

24 define('DB_HOST', '{{wp_db_host}}');

25 /** Database Charset to use in creating database tables. */

26 define('DB_CHARSET', '{{wp_db_charset}}');

27 /** The Database Collate type. Don't change this if in doubt. */

37 * Change these to different unique phrases!

38 * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}

39 * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.

PollingProvider.html (https://github.com/ktk070/Anopier.git) HTML · 154 lines

12 * <p>Provides for repetitive polling of the server at distinct {@link #interval intervals}.

13 * The initial request for data originates from the client, and then is responded to by the

14 * server.</p>

15 *

16 * <p>All configurations for the PollingProvider should be generated by the server-side

17 * API portion of the Ext.Direct stack.</p>

59 <div id="cfg-Ext.direct.PollingProvider-url"></div>/**

60 * @cfg {String/Function} url

61 * The url which the PollingProvider should contact with each request. This can also be

62 * an imported Ext.Direct method which will accept the baseParams as its only argument.

119

120 <div id="method-Ext.direct.PollingProvider-disconnect"></div>/**

121 * Disconnect from the server-side and stop the polling process. The disconnect

122 * event will be fired on a successful disconnect.

123 */

wp-config.php (https://bitbucket.org/murtuza88/carolina-home-stone.git) PHP · 92 lines

1 <?php

2 /**

3 * The base configurations of the WordPress.

4 *

5 * This file has the following configurations: MySQL settings, Table Prefix,

16

17 // ** MySQL settings - You can get this info from your web host ** //

18 /** The name of the database for WordPress */

19 define('SITE_NAME','http://chs.dev.com:9080');

20

30 define('DB_HOST', 'localhost');

31

32 /** Database Charset to use in creating database tables. */

33 define('DB_CHARSET', 'utf8');

34

41 * Change these to different unique phrases!

42 * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}

43 * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.

index.php (https://bitbucket.org/kgraveman/yaowt.git) PHP · 207 lines

53 * This variable must contain the name of your "system" folder.

54 * Include the path if the folder is not in the same directory

55 * as this file.

56 *

64 *

65 * If you want this front controller to use a different "application"

66 * folder then the default one you can set its name here. The folder

67 * can also be renamed or relocated anywhere on your server. If

68 * you do, use a full server path. For more info please see the user guide:

86 * routing in a specific front controller that shares a common CI installation.

87 *

88 * IMPORTANT: If you set the routing here, NO OTHER controller will be

89 * callable. In essence, this preference limits your application to ONE

90 * specific controller. Leave the function name blank if you need

201 //load wordpress file

202 // require_once($_SERVER['DOCUMENT_ROOT'] . '/wordpress/wp-load.php'); //UNSURE if this is needed when not using wordpress features

203

204 require_once BASEPATH.'core/CodeIgniter.php';

Section_General_Theme.php (https://gitlab.com/kath.de/cibedo_cibedo.de) PHP · 116 lines

17 * PHP 5.2 method of creating "instances" of an abstract require this

18 *

19 * Note: This is the only required method for a Connector to work

20 *

21 * @return self The dynamic instance of this Class

43 .tribe-events-button:hover,

44 .tribe-events-button.tribe-active:hover {

45 background-color: <%= general_theme.accent_color %>;

46 }

47

77 'title' => esc_html__( 'General Theme', 'tribe-events-calendar-pro' ),

78 'description' => esc_html__( 'Global configurations for the styling of The Events Calendar', 'tribe-events-calendar-pro' ),

79 );

80 }

83 * Create the Fields/Settings for this sections

84 *

85 * @param WP_Customize_Section $section The WordPress section instance

86 * @param WP_Customize_Manager $manager [description]

87 *

wp-config-sample.php (https://gitlab.com/haque.mdmanzurul/wp-archivefusetheme) PHP · 80 lines

1 <?php

2 /**

3 * The base configurations of the WordPress.

4 *

5 * This file has the following configurations: MySQL settings, Table Prefix,

16

17 // ** MySQL settings - You can get this info from your web host ** //

18 /** The name of the database for WordPress */

19 define('DB_NAME', 'database_name_here');

39 * Change these to different unique phrases!

40 * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}

41 * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.

73 /* That's all, stop editing! Happy blogging. */

74

75 /** Absolute path to the WordPress directory. */

76 if ( !defined('ABSPATH') )

77 define('ABSPATH', dirname(__FILE__) . '/');

bp-core-taxonomy.php (https://github.com/livinglab/openlab.git) PHP · 502 lines

225 * Note that object IDs are from the `bp_get_taxonomy_term_site_id()`, which on some

226 * multisite configurations may not be the same as the current site.

227 *

228 * @since 2.7.0

232 * @param int|array $term_ids Term id or array of term ids of terms that will be used.

233 * @param string|array $taxonomies String of taxonomy name or Array of string values of taxonomy names.

234 * @param array|string $args Change the order of the object_ids, either ASC or DESC.

235 *

236 * @return WP_Error|array If the taxonomy does not exist, then WP_Error will be returned. On success,

271 * Note that term data is from the `bp_get_taxonomy_term_site_id()`, which on some

272 * multisite configurations may not be the same as the current site.

273 *

274 * @since 2.7.0

423

424 /**

425 * Filter here to modify the BP Terms found into the database.

426 *

427 * @since 7.0.0

mediapackage.d.ts (https://gitlab.com/AVA_Sri/agovbe) TypeScript Typings · 1406 lines

310 EndTime: __string;

311 /**

312 * The ID of the HarvestJob. The ID must be unique within the region

313 and it cannot be changed after the HarvestJob is submitted

350 EndTime?: __string;

351 /**

352 * The ID of the HarvestJob. The ID must be unique within the region

353 and it cannot be changed after the HarvestJob is submitted.

391 HlsPackage?: HlsPackage;

392 /**

393 * The ID of the OriginEndpoint. The ID must be unique within the region

394 and it cannot be changed after the OriginEndpoint is created.

612 EndTime?: __string;

613 /**

614 * The ID of the HarvestJob. The ID must be unique within the region

615 and it cannot be changed after the HarvestJob is submitted.

wp-config.php.j2 (https://gitlab.com/Nouteil/geekbrains_scm) Jinja · 104 lines

1 <?php

2 /**

3 * The base configuration for WordPress

4 *

5 * The wp-config.php creation script uses this file during the

21 // ** MySQL settings - You can get this info from your web host ** //

22

23 /** The name of the database for WordPress */

24 define( 'DB_NAME', '{{ mysql_db }}' );

25

33 define( 'DB_HOST', 'localhost' );

34

35 /** Database Charset to use in creating database tables. */

36 define( 'DB_CHARSET', 'utf8' );

37

PollingProvider.js (https://github.com/garyhellman/cprs.git) JavaScript · 171 lines

8

9 Commercial Usage

10 Licensees holding valid commercial licenses may use this file in accordance with the Commercial Software License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Sencha.

11

12 If you are unsure which license is appropriate for your use, please contact the sales department at http://www.sencha.com/contact.

19 * <p>Provides for repetitive polling of the server at distinct {@link #interval intervals}.

20 * The initial request for data originates from the client, and then is responded to by the

21 * server.</p>

22 *

23 * <p>All configurations for the PollingProvider should be generated by the server-side

24 * API portion of the Ext.Direct stack.</p>

135

136 /**

137 * Disconnect from the server-side and stop the polling process. The disconnect

138 * event will be fired on a successful disconnect.

139 */

IdentitySection.cs (https://github.com/sdether/mono.git) C# · 98 lines

13 // "Software"), to deal in the Software without restriction, including

14 // without limitation the rights to use, copy, modify, merge, publish,

15 // distribute, sublicense, and/or sell copies of the Software, and to

16 // permit persons to whom the Software is furnished to do so, subject to

17 // the following conditions:

18 //

19 // The above copyright notice and this permission notice shall be

20 // included in all copies or substantial portions of the Software.

25 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE

26 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION

27 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION

28 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

29 //

30

instance_generator.rb (https://github.com/nullset/physical_therapy.git) Ruby · 117 lines

23 super

24 usage if args.empty?

25 usage("Databases supported for preconfiguration are: #{DATABASES.join(", ")}") if (options[:db] && !DATABASES.include?(options[:db]))

26 @destination_root = args.shift

27 end

28

29 def manifest

30 # The absolute location of the Radiant files

31 root = File.expand_path(RADIANT_ROOT)

32

68 # database.yml and .htaccess

69 m.template "databases/#{options[:db]}.yml", "config/database.yml", :assigns => {

70 :app_name => File.basename(File.expand_path(@destination_root)),

102 opt.on("-d", "--database=name", String,

103 "Preconfigure for selected database (options: #{DATABASES.join(", ")}).",

104 "Default: mysql") { |v| options[:db] = v }

105 end

winvista_apache2213_mod_php533.php (git://github.com/ezsystems/ezpublish.git) PHP · 122 lines ✨ Summary

This PHP code outputs an array of environment variables, which are key-value pairs representing system settings and configuration options. The output is a collection of strings that can be used to access specific values, such as the path to the Perl library or the user’s profile directory. It provides a snapshot of the current environment at runtime.

4 *

5 * Provides data for testing routing, encoding, virtual host mode detection & more

6 * on most httpd servers with different configurations.

7 *

8 * More info available on:

48 'SystemRoot' => 'C:\\Windows',

49 'COMSPEC' => 'C:\\Windows\\system32\\cmd.exe',

50 'PATHEXT' => '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC',

51 'WINDIR' => 'C:\\Windows',

52 'SERVER_SIGNATURE' => '',

94 'OS' => 'Windows_NT',

95 'Path' => 'C:\\Program Files\\PC Connectivity Solution\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;D:\\UnxUtils\\usr\\local\\wbin;D:\\Perl\\site\\bin;D:\\Perl\\bin;C:\\Program Files\\MySQL\\MySQL Server 5.1\\bin;D:\\oracle\\product\\11.2.0\\db_1\\bin;D:\\oracle\\product\\10.2.0\\db_1\\bin;c:\\Program Files\\Microsoft SQL Server\\100\\Tools\\Binn\\;c:\\Program Files\\Microsoft SQL Server\\100\\DTS\\Binn\\;C:\\Program Files\\ImageMagick-6.6.4-Q16;D:\\usr\\bin;c:\\Program Files\\OpenOffice.org 3\\program\\;C:\\Program Files\\TortoiseSVN\\bin;C:\\Program Files\\TortoiseGit\\bin;C:\\Program Files\\CollabNet Subversion Client;C:\\Program Files\\CVSNT\\;C:\\Program Files\\QuickTime\\QTSystem\\;C:\\Program Files\\doxygen\\bin;C:\\Users\\gg\\AppData\\Local\\Start++\\LNKs;C:\\Users\\gg\\AppData\\Local\\Start++\\CMDs;C:\\Program Files\\OpenVPN\\bin',

96 'PATHEXT' => '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC',

97 'PERL5LIB' => 'D:\\oracle\\product\\10.2.0\\db_1\\perl\\5.8.3\\lib\\MSWin32-x86;D:\\oracle\\product\\10.2.0\\db_1\\perl\\5.8.3\\lib;D:\\oracle\\product\\10.2.0\\db_1\\perl\\5.8.3\\lib\\MSWin32-x86;D:\\oracle\\product\\10.2.0\\db_1\\perl\\site\\5.8.3;D:\\oracle\\product\\10.2.0\\db_1\\perl\\site\\5.8.3\\lib;D:\\oracle\\product\\10.2.0\\db_1\\sysman\\admin\\scripts;D:\\oracle\\product\\10.2.0\\db_1\\perl\\lib\\5.8.3\\MSWin32-x86;D:\\oracle\\product\\10.2.0\\db_1\\perl\\lib\\5.8.3;D:\\oracle\\product\\10.2.0\\db_1\\perl\\5.8.3\\lib\\MSWin32-x86-multi-thread;D:\\oracle\\product\\10.2.0\\db_1\\perl\\site\\5.8.3;D:\\oracle\\product\\10.2.0\\db_1\\perl\\site\\5.8.3\\lib;D:\\oracle\\product\\10.2.0\\db_1\\sysman\\admin\\scripts',

98 'PHP_INI_SCAN_DIR' => 'd:\\php5\\extras',

wp-config.php (https://bitbucket.org/joelkriteman/argento.git) PHP · 90 lines

1 <?php

2 /**

3 * The base configurations of the WordPress.

4 *

5 * This file has the following configurations: MySQL settings, Table Prefix,

16

17 // ** MySQL settings - You can get this info from your web host ** //

18 /** The name of the database for WordPress */

19 define('DB_NAME', 'argento');

20

28 define('DB_HOST', '127.0.0.1');

29

30 /** Database Charset to use in creating database tables. */

31 define('DB_CHARSET', 'utf8');

32

39 * Change these to different unique phrases!

40 * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}

41 * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.

ftgl_static_lib.vcproj (http://angel-engine.googlecode.com/svn/trunk/) MSBuild · 1324 lines

15 <ToolFiles>

16 </ToolFiles>

17 <Configurations>

18 <Configuration

19 Name="Debug MT|Win32"

52 AssemblerListingLocation=".\Debug_MT/"

53 ObjectFile=".\Debug_MT/"

54 ProgramDataBaseFileName=".\Debug_MT/"

55 WarningLevel="0"

56 SuppressStartupBanner="true"

128 AssemblerListingLocation=".\Release_MT/"

129 ObjectFile=".\Release_MT/"

130 ProgramDataBaseFileName=".\Release_MT/"

131 WarningLevel="0"

132 SuppressStartupBanner="true"

CHANGES.txt (https://jedit.svn.sourceforge.net/svnroot/jedit) Plain Text · 3030 lines

56 drop down, which isn't necessary if the buffer switcher is not visible. Now

57 the visibility of this menu item is the same as the visibility of the buffer

58 switcher.

59

173 instead - the former is no longer being used. (Alan Ezust)

174

175 - The keybindings are reloaded when the properties are changed in the standalone

176 textarea, and the StandaloneActionSet now takes an url to the actions.xml

308 anymore (patch #2115400) (Dakshinamurthy Karra)

309

310 - The standalone textarea reloads the properties of the buffer when properties

311 are changed (patch #2115400) (Dakshinamurthy Karra)

312

400 (Matthieu Casanova)

401

402 - Added a widget for the statusbar that displays the length of the current

403 selection (feature #1912735) (Matthieu Casanova)

404

README.md (https://gitlab.com/brunokenshin/jmic) Markdown · 72 lines

23

24 # Filters configuration:

25 These configurations defines which emails jmic will consider to do all the work. The more restricted search, faster will be the process.

26

27 - subject

42

43 # Fields configuration:

44 These are the fields that you want to get from the messages.

45

46 - fieldName

48

49 - fieldStartPattern

50 + Defines the pattern that mark the start of the wanted information.

51

52 - fieldEndPattern

ExportTemplatesToolbarDisplayContext.java (https://github.com/kiyoshilee/liferay-portal.git) Java · 162 lines

3 *

4 * This library is free software; you can redistribute it and/or modify it under

5 * the terms of the GNU Lesser General Public License as published by the Free

6 * Software Foundation; either version 2.1 of the License, or (at your option)

20 import com.liferay.exportimport.util.comparator.ExportImportConfigurationNameComparator;

21 import com.liferay.exportimport.web.internal.search.ExportImportConfigurationDisplayTerms;

22 import com.liferay.exportimport.web.internal.search.ExportImportConfigurationSearchTerms;

23 import com.liferay.frontend.taglib.clay.servlet.taglib.display.context.BaseManagementToolbarDisplayContext;

72 return new CreationMenu() {

73 {

74 GroupDisplayContextHelper groupDisplayContextHelper =

75 new GroupDisplayContextHelper(request);

83 groupDisplayContextHelper.getGroupId(),

84 "liveGroupId",

85 groupDisplayContextHelper.getLiveGroupId(),

86 "privateLayout", Boolean.FALSE.toString());

87 dropdownItem.setLabel(LanguageUtil.get(request, "new"));

wp-config.php (https://github.com/meanlumberjack/First-Estate.git) PHP · 90 lines

1 <?php

2 /**

3 * The base configurations of the WordPress.

4 *

5 * This file has the following configurations: MySQL settings, Table Prefix,

16

17 // ** MySQL settings - You can get this info from your web host ** //

18 /** The name of the database for WordPress */

19 define('DB_NAME', 'first_estate');

20

28 define('DB_HOST', 'localhost');

29

30 /** Database Charset to use in creating database tables. */

31 define('DB_CHARSET', 'utf8');

32

39 * Change these to different unique phrases!

40 * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}

41 * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.

2013-08-27-automated-deployments-now-in-the-rackspace-control-panel.markdown (https://gitlab.com/Blueprint-Marketing/developer.rackspace.com) Markdown · 51 lines

27 ##Like Chef Or Puppet For The Cloud

28

29 While [Chef][2] and [Puppet][3] are awesome tools to configure host machines or VMs, they do fall a little short in deploying full environments: you can’t run Chef on a Cloud Load Balancer or Cloud Database. This is where the Rackspace Deployments Service comes in. This system looks at the entire topology and configures your environment (servers, load balancers and databases) in a holistic way, based on best practices, for you to run your application.

30

31 {% img center 2013-08-27-automated-deployments/configure.png %}

32

33

34 When it is time to configure the application on a host machine, the Rackspace Deployments Service will use Chef or Puppet. Ultimately, our deployment offering is the orchestrator above everything; it ensures that your environment is setup to run the application along with verifying the app is configured correctly.

35

36 ##Battle Tested Solution

37

38 Our [Managed Cloud][4] team has been using the Rackspace Deployment Service to build and scale out customer configurations. This means that you are getting a battle-tested solution that has been working in the real world that is ready for prime time. The Rackspace Deployment Service is actively used by the experts who know how these applications should run and by Rackers who know how to support them if something goes awry.

39

40 {% img center 2013-08-27-automated-deployments/build.png %}

PollingProvider.js (https://github.com/marekjs/Shacser.git) JavaScript · 158 lines

5 * <p>Provides for repetitive polling of the server at distinct {@link #interval intervals}.

6 * The initial request for data originates from the client, and then is responded to by the

7 * server.</p>

8 *

9 * <p>All configurations for the PollingProvider should be generated by the server-side

10 * API portion of the Ext.Direct stack.</p>

58 /**

59 * @cfg {String/Function} url

60 * The url which the PollingProvider should contact with each request. This can also be

61 * an imported Ext.Direct method which will accept the baseParams as its only argument.

122

123 /**

124 * Disconnect from the server-side and stop the polling process. The disconnect

125 * event will be fired on a successful disconnect.

126 */

wp-config.php (https://github.com/natduffy/natduffy.com.git) PHP · 90 lines

1 <?php

2 /**

3 * The base configurations of the WordPress.

4 *

5 * This file has the following configurations: MySQL settings, Table Prefix,

16

17 // ** MySQL settings - You can get this info from your web host ** //

18 /** The name of the database for WordPress */

19 define('DB_NAME', 'natwp');

20

28 define('DB_HOST', 'localhost');

29

30 /** Database Charset to use in creating database tables. */

31 define('DB_CHARSET', 'utf8');

32

39 * Change these to different unique phrases!

40 * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}

41 * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.

wp-config.php.erb (https://bitbucket.org/cavneb/cookbooks.git) Ruby HTML · 76 lines

1 <?php

2 /**

3 * The base configurations of the WordPress.

4 *

5 * This file has the following configurations: MySQL settings, Table Prefix,

16

17 // ** MySQL settings - You can get this info from your web host ** //

18 /** The name of the database for WordPress */

19 define('DB_NAME', '<%= @database %>');

39 * Change these to different unique phrases!

40 * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/ WordPress.org secret-key service}

41 * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.

69 /* That's all, stop editing! Happy blogging. */

70

71 /** WordPress absolute path to the Wordpress directory. */

72 if ( !defined('ABSPATH') )

73 define('ABSPATH', dirname(__FILE__) . '/');

wp-config.php (https://bitbucket.org/mrjt515/tcsa.git) PHP · 92 lines

1 <?php

2 /**

3 * The base configurations of the WordPress.

4 *

5 * This file has the following configurations: MySQL settings, Table Prefix,

18 define('SUPPORT_EMAIL', 'support@thechampionssocceracademy.com');

19 // ** MySQL settings - You can get this info from your web host ** //

20 /** The name of the database for WordPress */

21 define('DB_NAME', 'wordpress');

41 * Change these to different unique phrases!

42 * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}

43 * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.

85 /* That's all, stop editing! Happy blogging. */

86

87 /** Absolute path to the WordPress directory. */

88 if ( !defined('ABSPATH') )

89 define('ABSPATH', dirname(__FILE__) . '/');

2013-06-25-rackspace-deployment-services.markdown (https://gitlab.com/Blueprint-Marketing/developer.rackspace.com) Markdown · 42 lines

9 - Rackspace Deployment Services

10 ---

11 Early last year, a project code-named Checkmate was created by Rackers to make it easy for them to deploy complex cloud configurations, such as scalable WordPress with Cloud Servers, Cloud Databases and a Cloud Load Balancer, with one-click for our customers. The goal of the project was to provide a way for Rackers to share and collaborate on these best practices using common collaboration tools like GitHub.

12

13 Rackers across the company have a lot of experience running real-world applications in the cloud. We wanted to take this knowledge and not only crowd-source that information into best-practice "blueprints," but also expose that information publically, enabling customers to easily deploy a configuration built on these best practices. We knew that it would be a win-win: customers would have access this expertise without having search for it on the web, and Rackers would get to contribute their knowledge to a broader audience of customers.

30 * Cassandra

31

32 We recognize that you, our customers, already have a lot of experience running applications on our cloud and we'd like you to contribute to these blueprints as well. We're looking for some early testers to launch these blueprints on their cloud accounts to test them out. Do they have all the functionality you expect? Do they meet your performance expectations? What other blueprints to do you want to see (Apache Tomcat, Django, Node.js)? Etc... Your feedback will help us make Rackspace Deployment Services even more helpful to you.

33

34 For questions and to contact the team working on Checkmate find us on freenode at #checkmate.

36 ##Checkmate and OpenStack Heat

37

38 Rackspace is investing in and supporting the development of Heat; the orchestration and configuration management service in OpenStack. Part of the team working on Checkmate transitioned in June to work on Heat to get it to the level of stability and capability that would allow us to eventually run the deployments feature using Heat as the engine behind it. At the last OpenStack Summit in Portland, we also proposed the Checkmate API and blueprint syntax as the new open API for Heat and are working with the OpenStack community to implement that. We believe the experience we have gained in developing and running Checkmate will help us make valuable contributions to the development of Heat's capabilities and API. Our intent is that the two projects will converge in the future and we are putting resources behind making that happen.

39

40 If you are interested in joining the preview of Checkmate, please fill out this [survey here][1]!

starting.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 320 lines

30 </para>

31 <para>

32 When running on MacOS X, the <userinput>-background</userinput> command-line switch is active by default, so that jEdit conforms to the platform convention that programs should stay open until the <guimenuitem>Quit</guimenuitem> command is explicitly invoked by the user, even if all windows are closed. To disable background mode on MacOS X, use the <userinput>-nobackground</userinput> switch.

33 </para>

34 <para>

72

73 <para>

74 The jEditLauncher package installs three shortcuts for running jEdit: one at the top-level of the <guilabel>Start</guilabel> menu, another in the <guilabel>Programs</guilabel> submenu, and a third on your desktop. Any of these may be deleted or moved without

75 affecting jEdit's operation. To launch jEdit, simply double-click one of these shortcuts

82 You can change the Java interpreter used to launch jEdit, the amount of heap memory,

83 the working directory and other command line parameters. To make these changes,

84 select <guilabel>Set jEdit Parameters</guilabel> from the jEdit group in

309 <row>

310 <entry><userinput>-wait</userinput></entry>

311 <entry>Keeps the client open until the user closes the specified buffer in the server instance. Does nothing if passed to the initial jEdit instance. Use this switch if jEdit is being invoked by another program as an external editor; otherwise the client will exit immediately and the invoking program will assume you have finished editing the given file.

312 </entry>

313 </row>

functions.php (https://github.com/jmrocela/Concerto.git) PHP · 185 lines

1 <?php

2 /*!

3 * Concerto - a fresh and new wordpress theme framework for everyone

4 *

5 * http://themeconcert.com/concerto

88 * Import Concerto Options

89 *

90 * Reads a JSON file and updates the configurations based on it's values

91 */

92 function importConcertoOptions($file = null, $stage = 'default', $context = null) {

100 }

101 $content = explode("\n", file_get_contents($file), 4);

102 //should handle errors more thouroughly rather than suppressing them

103 if ($options = @json_decode($content[3])) {

104 foreach ($options as $what => $hash) {

wp-config.php (https://gitlab.com/nico01f/fabric_betazeta) PHP · 89 lines

1 <?php

2 /**

3 * The base configuration for WordPress

4 *

5 * The wp-config.php creation script uses this file during the

20

21 // ** MySQL settings - You can get this info from your web host ** //

22 /** The name of the database for WordPress */

23 define('DB_NAME', 'wordpress_db');

32 define('DB_HOST', '192.168.10.13');

33

34 /** Database Charset to use in creating database tables. */

35 define('DB_CHARSET', 'utf8');

36

43 * Change these to different unique phrases!

44 * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}

45 * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.

target_name.gyp (https://bitbucket.org/ultra_iter/qt-vtl.git) Unknown · 19 lines

1 # Copyright (c) 2010 Google Inc. All rights reserved.

2 # Use of this source code is governed by a BSD-style license that can be

3 # found in the LICENSE file.

4

5 {

6 'targets': [

7 {

8 'target_name': 'configurations',

9 'type': 'none',

10 'configurations': {

PollingProvider.js (https://bitbucket.org/mobile_venkys/mobisale1.git) JavaScript · 145 lines

4 * <p>Provides for repetitive polling of the server at distinct {@link #interval intervals}.

5 * The initial request for data originates from the client, and then is responded to by the

6 * server.</p>

7 *

8 * <p>All configurations for the PollingProvider should be generated by the server-side

9 * API portion of the Ext.Direct stack.</p>

52 /**

53 * @cfg {String/Function} url

54 * The url which the PollingProvider should contact with each request. This can also be

55 * an imported Ext.Direct method which will accept the baseParams as its only argument.

109

110 /**

111 * Disconnect from the server-side and stop the polling process. The disconnect

112 * event will be fired on a successful disconnect.

113 */

ExportTemplatesToolbarDisplayContext.java (https://github.com/danielreuther/liferay-portal.git) Java · 155 lines

3 *

4 * This library is free software; you can redistribute it and/or modify it under

5 * the terms of the GNU Lesser General Public License as published by the Free

6 * Software Foundation; either version 2.1 of the License, or (at your option)

72 return CreationMenuBuilder.addPrimaryDropdownItem(

73 dropdownItem -> {

74 GroupDisplayContextHelper groupDisplayContextHelper =

75 new GroupDisplayContextHelper(httpServletRequest);

79 "/export_import/edit_export_configuration", Constants.CMD,

80 Constants.ADD, "groupId",

81 groupDisplayContextHelper.getGroupId(), "liveGroupId",

82 groupDisplayContextHelper.getLiveGroupId(), "privateLayout",

99 getRenderURL()

100 ).setMVCRenderCommandName(

101 "/export_import/view_export_configurations"

102 ).buildString();

103 }

description.html (https://jedit.svn.sourceforge.net/svnroot/jedit) HTML · 33 lines ✨ Summary

This HTML code describes a plugin for jEdit, a text editor, that enables debugging of programs using the gdb debugger directly from the editor. The plugin provides various features such as setting breakpoints, controlling program execution, and viewing expressions and variables. It is still under development and may be unstable.

1 <html>

2 <p>GdbPlugin enables debugging programs using the gdb debugger directly from jEdit. The plugin provides the following functionality: </p>

3 <ul>

4 <li>

6 </li>

7 <li>

8 Controlling program execution (the usual continue/step/next/...) - either using actions from the GdbPlugin menu or using a very simple GUI panel.

9 </li>

10 <li>

21 </li>

22 <li>

23 Defining "launch configurations" - i.e. the applications to debug, their command-line arguments etc.

24 </li>

25 <li>

28 </ul>

29 <p>

30 The plugin uses gdb/mi (for most functions) for the interface with gdb. The plugin is still under development; as such, it is incomplete and might be unstable.

31 </p>

32

wp-config.php (https://github.com/zhanghedong/zw.git) PHP · 90 lines

1 <?php

2 /**

3 * The base configurations of the WordPress.

4 *

5 * This file has the following configurations: MySQL settings, Table Prefix,

16

17 // ** MySQL settings - You can get this info from your web host ** //

18 /** The name of the database for WordPress */

19 define('DB_NAME', 'zw');

20

28 define('DB_HOST', 'localhost');

29

30 /** Database Charset to use in creating database tables. */

31 define('DB_CHARSET', 'utf8');

32

39 * Change these to different unique phrases!

40 * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}

41 * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.

wp-config-sample.php (https://gitlab.com/ReneMC/Custom-wordpress-theme) PHP · 89 lines

1 <?php

2 /**

3 * The base configuration for WordPress

4 *

5 * The wp-config.php creation script uses this file during the

20

21 // ** MySQL settings - You can get this info from your web host ** //

22 /** The name of the database for WordPress */

23 define('DB_NAME', 'database_name_here');

32 define('DB_HOST', 'localhost');

33

34 /** Database Charset to use in creating database tables. */

35 define('DB_CHARSET', 'utf8');

36

43 * Change these to different unique phrases!

44 * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}

45 * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.

malloc.c (https://bitbucket.org/ultra_iter/qt-vtl.git) C · 5515 lines

32 ftp://gee.cs.oswego.edu/pub/misc/malloc-2.8.3.h

33 You don't really need this .h file unless you call functions not

34 defined in your system include files. The .h file contains only the

35 excerpts from this file needed for using this malloc on ANSI C/C++

36 systems, so long as you haven't changed compile-time options about

73 are serviced via mmap(), where the worst case wastage is about

74 32 bytes plus the remainder from a system page (the minimal

75 mmap unit); typically 4096 or 8192 bytes.

76

77 Security: static-safe; optionally more or less

78 The "security" of malloc refers to the ability of malicious

79 code to accentuate the effects of errors (for example, freeing

106 dropping pointers and indices to all known memory. This may

107 be appropriate for programs that should continue if at all

108 possible in the face of programming errors, although they may

109 run out of memory because dropped memory is never reclaimed.

110

wkt.vcproj (http://hadesmem.googlecode.com/svn/trunk/) text · 0 lines

15 <ToolFiles>

16 </ToolFiles>

17 <Configurations>

18 <Configuration

19 Name="Debug|Win32"

161 />

162 </Configuration>

163 </Configurations>

164 <References>

165 </References>

README.org (https://github.com/fanhongtao/_emacs.d.git) Org · 90 lines

5 really modern and exciting (yet stable) way to edit text files.

6

7 In the package are included also a lot of other packages and

8 configurations, it's an upstart for clean emacs installations, these

33 emacs

34 - Yasnippet: Snippets on steroids

35 - Parentheses pairing (Custom): Bug-free parentheses pairing using

36 skeletons.

37 - smart-operator: Automatically adds spaces around arithmetic operators.

54 Put the emacs-for-python directory in .emacs.d directory (or any

55 other), the add this line in your .emacs, it will enable all the

56 features of emacs-for-python package (editing configuration,

57 keybindings, python stuff etc...)

83

84 This is mostly a distribution with some little tweaks, with respect of

85 the licenses, my tweaks are distributed according to the term of the

86 GNU GPL license, described in the file COPYING.

content.php (https://bitbucket.org/adatux_/uakami.git) PHP · 1139 lines

390 array( __( 'Before You Begin', $this->hook ), 'databaseprefix_content_1' ), //information to prevent the user from getting in trouble

391 array( __( 'Change The Database Prefix', $this->hook ), 'databaseprefix_content_2' ) //databaseprefix options

392 ),

393 BWPS_PU . 'images/shield-large.png',

544 ?>

545 <p><?php _e( 'Welcome to Better WP Security!', $this->hook ); ?></p>

546 <p><?php echo __( 'Before we begin it is extremely important that you make a backup of your database. This will make sure you can get your site back to the way it is right now should something go wrong. Click the button below to make a backup which will be emailed to the website administrator at ', $this->hook ) . '<strong>' . get_option( 'admin_email' ) . '</strong>'; ?></p>

547 <form method="post" action="">

548 <?php wp_nonce_field( 'BWPS_admin_save','wp_nonce' ); ?>

593 <input type="hidden" name="bwps_page" value="dashboard_5" />

594 <input type="hidden" name="oneclick" value="1" />

595 <p><?php _e( 'The button below will turn on all the basic features of Better WP Security which will help automatically protect your site from potential attacks. Please note that it will NOT automatically activate any features which may interfere with other plugins, themes, or content on your site. As such, not all the items in the status will turn green by using the "Secure My Site From Basic Attacks" button. The idea is to activate basic features in one-click so you don\'t have to worry about it.', $this->hook ); ?></p>

596 <p><?php _e( 'Please note this will not make any changes to any files on your site including .htaccess and wp-config.php.', $this->hook ); ?></p>

597 <p class="submit"><input type="submit" class="button-primary" value="<?php _e( 'Secure My Site From Basic Attacks', $this->hook ); ?>" /></p>

801 <li><span style="color: red;"><?php _e( 'Items in red are not secured. You should secure these items immediately', $this->hook ); ?></span></li>

802 <li><span style="color: blue;"><?php _e( 'Items in blue are not fully secured but may conflict with other themes, plugins, or the other operation of your site. Secure them if you can but if you cannot do not worry about them.', $this->hook ); ?></span></li>

803 </ul>

804 <?php

Data.php (https://github.com/speedupmate/Magento-CE-Mirror.git) PHP · 149 lines

5 * NOTICE OF LICENSE

6 *

7 * This source file is subject to the Open Software License (OSL 3.0)

8 * that is bundled with this package in the file LICENSE.txt.

9 * It is also available through the world-wide-web at this URL:

10 * http://opensource.org/licenses/osl-3.0.php

11 * If you did not receive a copy of the license and are unable to

12 * obtain it through the world-wide-web, please send an email

13 * to license@magento.com so we can send you a copy immediately.

14 *

16 *

17 * Do not edit or add to this file if you wish to upgrade Magento to newer

18 * versions in the future. If you wish to customize Magento for your

19 * needs please refer to http://www.magento.com for more information.

20 *

wp-config.php (https://gitlab.com/citr.co/argento) PHP · 186 lines

2 <?php

3 /**

4 * The base configurations of the WordPress.

5 *

6 * This file has the following configurations: MySQL settings, Table Prefix,

40 * Change these to different unique phrases!

41 * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}

42 * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.

93 <?php

94 /**

95 * The base configurations of the WordPress.

96 *

97 * This file has the following configurations: MySQL settings, Table Prefix,

134 * Change these to different unique phrases!

135 * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}

136 * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.

wp-config.php (https://github.com/meudaypratap/wordpressPoc.git) PHP · 90 lines

1 <?php

2 /**

3 * The base configurations of the WordPress.

4 *

5 * This file has the following configurations: MySQL settings, Table Prefix,

16

17 // ** MySQL settings - You can get this info from your web host ** //

18 /** The name of the database for WordPress */

19 define('DB_NAME', 'wordpress_poc');

28 define('DB_HOST', 'localhost');

29

30 /** Database Charset to use in creating database tables. */

31 define('DB_CHARSET', 'utf8');

32

39 * Change these to different unique phrases!

40 * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}

41 * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.

deploy-config.erb (https://github.com/infovore/goodcastle.git) Ruby HTML · 87 lines

1 <?php

2 /**

3 * The base configurations of the WordPress.

4 *

5 * This file has the following configurations: MySQL settings, Table Prefix,

16

17 // ** MySQL settings - You can get this info from your web host ** //

18 /** The name of the database for WordPress */

19 define('DB_NAME', '<%= dbname %>');

20

28 define('DB_HOST', 'localhost');

29

30 /** Database Charset to use in creating database tables. */

31 define('DB_CHARSET', 'utf8');

32

43 * Change these to different unique phrases!

44 * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}

45 * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.

JdkUtil.java (https://bitbucket.org/nbargnesi/idea.git) Java · 313 lines

2 * Copyright 2000-2012 JetBrains s.r.o.

3 *

4 * Licensed under the Apache License, Version 2.0 (the "License");

5 * you may not use this file except in compliance with the License.

6 * You may obtain a copy of the License at

7 *

8 * http://www.apache.org/licenses/LICENSE-2.0

12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

13 * See the License for the specific language governing permissions and

14 * limitations under the License.

54

55 /**

56 * @return the specified attribute of the JDK (examines rt.jar) or null if cannot determine the value

57 */

58 @Nullable

wp-configApr2014.php (https://gitlab.com/endomorphosis/falkenstein) PHP · 90 lines

1 <?php

2 /**

3 * The base configurations of the WordPress.

4 *

5 * This file has the following configurations: MySQL settings, Table Prefix,

16

17 // ** MySQL settings - You can get this info from your web host ** //

18 /** The name of the database for WordPress */

19 define('DB_NAME', 'fal1323808132013');

20

28 define('DB_HOST', 'fal1323808132013.db.9213918.hostedresource.com');

29

30 /** Database Charset to use in creating database tables. */

31 define('DB_CHARSET', 'utf8');

32

39 * Change these to different unique phrases!

40 * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}

41 * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.

wp-config.php (https://gitlab.com/gregtyka/app222) PHP · 120 lines

1 <?php

2 /**

3 * The base configurations of the WordPress.

4 *

5 * This file has the following configurations: MySQL settings, Table Prefix,

16

17 // ** MySQL settings - You can get this info from your web host ** //

18 /** The name of the database for WordPress */

19 define('DB_NAME', $_ENV['OPENSHIFT_APP_NAME']);

20

28 define('DB_HOST', $_ENV['OPENSHIFT_DB_HOST']);

29

30 /** Database Charset to use in creating database tables. */

31 define('DB_CHARSET', 'utf8');

32

39 * Change these to different unique phrases!

40 * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}

41 * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.

tut4.vcxproj (http://hadesmem.googlecode.com/svn/trunk/) text · 0 lines

1 <?xml version="1.0" encoding="utf-8"?>

2 <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">

3 <ItemGroup Label="ProjectConfigurations">

4 <ProjectConfiguration Include="Debug|Win32">

5 <Configuration>Debug</Configuration>

69 <PrecompiledHeader>

70 </PrecompiledHeader>

71 <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>

72 </ClCompile>

73 <Link>

wp-config.php (https://gitlab.com/hunt9310/ras) PHP · 80 lines

1 <?php

2 /**

3 * The base configurations of the WordPress.

4 *

5 * This file has the following configurations: MySQL settings, Table Prefix,

16

17 // ** MySQL settings - You can get this info from your web host ** //

18 /** The name of the database for WordPress */

19 define('DB_NAME', 'ras');

20

28 define('DB_HOST', 'localhost');

29

30 /** Database Charset to use in creating database tables. */

31 define('DB_CHARSET', 'utf8');

32

39 * Change these to different unique phrases!

40 * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}

41 * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.

NetworkInterfaceViewModel.cs (https://github.com/BornToBeRoot/NETworkManager.git) C# · 1153 lines

15 using System.Windows;

16 using LiveCharts;

17 using LiveCharts.Configurations;

18 using LiveCharts.Wpf;

19 using MahApps.Metro.Controls;

23 namespace NETworkManager.ViewModels

24 {

25 public class NetworkInterfaceViewModel : ViewModelBase, IProfileManager

26 {

27 #region Variables

618 IsNetworkInterfaceLoading = true;

619

620 await Task.Delay(2000); // Make the user happy, let him see a reload animation (and he cannot spam the reload command)

621

622 var id = string.Empty;

wp-config.php (https://gitlab.com/endomorphosis/reservationtelco) PHP · 91 lines

1 <?php

2 /**

3 * The base configurations of the WordPress.

4 *

5 * This file has the following configurations: MySQL settings, Table Prefix,

8 * wp-config.php} Codex page. You can get the MySQL settings from your web host.

9 *

10 * This file is used by the wp-config.php creation script during the

11 * installation. You don't have to use the web site, you can just copy this file

16

17 // ** MySQL settings - You can get this info from your web host ** //

18 /** The name of the database for WordPress */

19

20 define('WP_CACHE', false); //Added by WP-Cache Manager

54 * Change these to different unique phrases!

55 * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/ WordPress.org secret-key service}

56 * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.

ResourcesTests.cs (https://github.com/directhex/monodevelop.git) C# · 85 lines

10 // of this software and associated documentation files (the "Software"), to deal

11 // in the Software without restriction, including without limitation the rights

12 // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell

13 // copies of the Software, and to permit persons to whom the Software is

20 // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,

21 // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE

22 // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER

23 // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,

24 // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN

25 // THE SOFTWARE.

41 /// Tests that files generated from .resx files for .NET Core and .NET Standard

42 /// projects use "typeof(Resources).GetTypeInfo().Assembly" instead of

43 /// "typeof(Resources).Assembly". Without the GetTypeInfo the project will not

44 /// compile with NET Core below version 2.0

45 /// </summary>

README.md (https://gitlab.com/GzusGO/TDD-WordPress-standard-installation) Markdown · 123 lines

9 ### Migration dependency:

10

11 This is a big problem on WordPress development because it depends on the root address, so you have to hack the DB and run some script to re-calculate all routes on the installation. Also, every folder in the installation has the same problem. So this methodology and repo try to solve or alleviate that separating the WordPress files from your work folders for the development of themes and plugins. In most of the cases, you should change the positions of the core files so you can make it independent.

12

13 ### Environmentally aware:

50 - env-config-P.php :: production

51

52 Remember to add the database connection information and the domain name of the different server you are using http:// or https:// at the beginning for ex: for development (http://localhost:8080, http://mySite.dev/ ), http://test.mysite.com, http://mySite.com.

53

54 ### b) Constant on Server

73 #### Change version of Wordpress

74

75 The Wordpress repo use git tags for saving the deferent versions of WordPress so if you need to test your theme or plugin in deferents versions of WordPress you can use this feature:

76

77 - See all versions available: ``` git tag ```

XmlConfigurationSource.cs (https://github.com/nats/castle-1.0.3-mono.git) C# · 182 lines

26 /// source like files, streams or readers.

27 /// </summary>

28 public class XmlConfigurationSource : InPlaceConfigurationSource

29 {

30 /// <summary>

47

48 /// <summary>

49 /// Initializes a new instance of the <see cref="XmlConfigurationSource"/> class.

50 /// </summary>

51 /// <param name="stream">The stream.</param>

58

59 /// <summary>

60 /// Initializes a new instance of the <see cref="XmlConfigurationSource"/> class.

61 /// </summary>

62 /// <param name="reader">The reader.</param>

wp-config-sample.php (https://github.com/pkht/Brunel.git) PHP · 76 lines

1 <?php

2 /**

3 * The base configurations of the WordPress.

4 *

5 * This file has the following configurations: MySQL settings, Table Prefix,

16

17 // ** MySQL settings - You can get this info from your web host ** //

18 /** The name of the database for WordPress */

19 define('DB_NAME', 'putyourdbnamehere');

20

39 * Change these to different unique phrases!

40 * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/ WordPress.org secret-key service}

41 * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.

50

51 /**

52 * WordPress Database Table prefix.

53 *

54 * You can have multiple installations in one database if you give each a unique

wp-config.php.j2 (https://gitlab.com/dewyatt/wordpress_apache_mysql_ansible) Jinja · 90 lines

1 <?php

2 /**

3 * The base configurations of the WordPress.

4 *

5 * This file has the following configurations: MySQL settings, Table Prefix,

16

17 // ** MySQL settings - You can get this info from your web host ** //

18 /** The name of the database for WordPress */

19 define('DB_NAME', '{{ mysql_database }}');

28 define('DB_HOST', 'localhost');

29

30 /** Database Charset to use in creating database tables. */

31 define('DB_CHARSET', 'utf8');

32

39 * Change these to different unique phrases!

40 * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}

41 * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.

configure (https://bitbucket.org/freebsd/freebsd-head/) Shell · 22861 lines ✨ Summary

This shell script configures and builds a GNU project. It checks for existing configuration files, generates new ones if necessary, and sets up the build process. If an error occurs during configuration, it exits with a non-zero status code. Otherwise, it proceeds to build the project. The script also redirects output to a log file and appends to it, ensuring that configuration errors are recorded.

56 fi

57

58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then

59 as_basename=basename

155

156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO

157 # uniformly replaced by the line number. The first 'sed' inserts a

158 # line-number line before each line; the second 'sed' does the real

177

178 # Don't try to exec as it changes $[0], causing all sort of problems

179 # (the dirname of $[0] is not the place where we might find the

180 # original and so on. Autoconf is especially sensible to this).

181 . ./$as_me.lineno

465 ac_init_help=

466 ac_init_version=false

467 # The variables have the same names as the options, with

468 # dashes changed to underlines.

469 cache_file=/dev/null

class-sitemaps-router.php (https://gitlab.com/suporte.spturis/carnaval2015.spturis.com.br) PHP · 127 lines

66

67 /**

68 * Checks whether the current request needs to be redirected to sitemap_index.xml.

69 *

70 * @global WP_Query $wp_query Current query.

100

101 /**

102 * Create base URL for the sitemap.

103 *

104 * @param string $page Page to append to the base URL.

115 * Filter the base URL of the sitemaps.

116 *

117 * @param string $base The string that should be added to home_url() to make the full base URL.

118 */

119 $base = apply_filters( 'wpseo_sitemaps_base_url', $base );

122 * Get the scheme from the configured home URL instead of letting WordPress

123 * determine the scheme based on the requested URI.

124 */

125 return home_url( $base . $page, wp_parse_url( get_option( 'home' ), PHP_URL_SCHEME ) );

clocks.c (http://omnia2droid.googlecode.com/svn/trunk/) C · 117 lines ✨ Summary

This C code provides a set of routines for managing clocks on Au1xx0 processors, which are used in various embedded systems. It allows setting and getting the processor speed, as well as calculating the UART baud rate based on the processor frequency. The code also includes spinlock protection to ensure thread safety when accessing sensitive registers.

7 *

8 * This program is free software; you can redistribute it and/or modify it

9 * under the terms of the GNU General Public License as published by the

10 * Free Software Foundation; either version 2 of the License, or (at your

18 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF

19 * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON

20 * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT

21 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF

58

59 /*

60 * The UART baud base is not known at compile time ... if

61 * we want to be able to use the same code on different

76 * because it is more accurate than computing it from the 32 KHz

77 * counter, if it exists. If we don't have an accurate processor

78 * speed, all of the peripherals that derive their clocks based on

79 * this advertised speed will introduce error and sometimes not work

80 * properly. This function is futher convoluted to still allow configurations

wp-config.php (https://github.com/keikubo/fluxflex_wordpress_en.git) PHP · 90 lines

1 <?php

2 /**

3 * The base configurations of the WordPress.

4 *

5 * This file has the following configurations: MySQL settings, Table Prefix,

16

17 // ** MySQL settings - You can get this info from your web host ** //

18 /** The name of the database for WordPress */

19 define('DB_NAME', 'FLX_DB_NAME');

20

28 define('DB_HOST', 'FLX_DB_HOST');

29

30 /** Database Charset to use in creating database tables. */

31 define('DB_CHARSET', 'utf8');

32

39 * Change these to different unique phrases!

40 * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}

41 * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.

README.md (https://github.com/thomasgriffin/TGM-Plugin-Activation.git) Markdown · 58 lines

13 ## Description

14

15 TGM Plugin Activation is a PHP library that allows you to easily require or recommend plugins for your WordPress themes (and plugins). It allows your users to install, update and even automatically activate plugins in singular or bulk fashion using native WordPress classes, functions and interfaces. You can reference bundled plugins, plugins from the WordPress Plugin Repository or even plugins hosted elsewhere on the internet.

16

17 ## Installation

18

19 1. Generate a customized version of the latest version of TGMPA based on your intended use-case using the [Custom TGMPA Generator](http://tgmpluginactivation.com/download/).

20 2. Extract the class file and place it somewhere in your theme hierarchy.

24 For steps 3 and 4, it is recommended you view, copy and paste the contents of `example.php`

25 and amend to suit. The `example.php` file is a model for how you should include the class in your theme.

26

27 Detailed documentation on [how to configure TGMPA](http://tgmpluginactivation.com/configuration/) is available on the website.

28

29 __*We strongly recommend the use of the [Custom TGMPA Generator](http://tgmpluginactivation.com/download/) if you intend to use TGMPA in a theme which is to be published via WordPress.org or Themeforest.*__

30

31 The generated customized version of TGMPA will comply with the Theme Review guidelines and Theme Check.

wp-config-sample.php (https://bitbucket.org/sampepose/stlfr-wp.git) PHP · 93 lines

1 <?php

2 /**

3 * The base configurations of the WordPress.

4 *

5 * This file has the following configurations: MySQL settings, Table Prefix,

19

20 // ** MySQL settings - You can get this info from your web host ** //

21 /** The name of the database for WordPress */

22 define('DB_NAME', trim($db["path"],"/"));

23

42 * Change these to different unique phrases!

43 * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}

44 * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.

86 /* That's all, stop editing! Happy blogging. */

87

88 /** Absolute path to the WordPress directory. */

89 if ( !defined('ABSPATH') )

90 define('ABSPATH', dirname(__FILE__) . '/');

tests.md (https://gitlab.com/kath.de/cibedo_cibedo.de) Markdown · 47 lines

18 The repository contains a `codeception.dist.yml` file that Codeception will read before reading the local to your machine `codeception.yml` file.

19 Copy the distribution version of the Codeception configuration file in the root folder of the plugin

20

21 cp codeception.dist.yml codeception.yml

23 **Edit the file `codeception.yml` file to suit your database, installation folder and web driver settings.**

24

25 **Beware**: The `WPLoader` module that's used in functional tests will **destroy** the database it's working on: **do not** point it to the same database you use for development! A good rule of thumb is to have a database for development (e.g. `tec`) and one that will be used for tests (e.g. `tec-tests`).

26 On the same lines the repository packs "distribution" versions of the `unit.suite.dist.yml`, `functional.suite.dist.yml` and `acceptance.suite.dist.yml` configuration files: there is usually no need to override those but it's worth mentioning they exist.

27 The last piece of the configuration is the bootstrap file; the repository comes with "distribution" versions of these file in the root folder of the pluging tests (`/tests/_bootstrap.dist.php`) and a bootstrap file specific to each suite (`/tests/acceptance/_bootstrap.dist.php`, `/tests/functional/_bootstrap.dist.php`, `/tests/unit/_bootstrap.dist.php`); remove the root `_bootstrap.php` file Codeception created during bootstrapping and copy the one in the root of the plugin tests (`/tests`)

28

29 rm _bootstrap.php

45

46 ## Contributing to tests

47 Should you come up with good utility methods, worthy database configurations and "cool additions" in general for the plugin tests feel free to open a PR and submit them for review.

48

README.md (https://github.com/konscript/schroderpartners.git) Markdown · 28 lines

1 Developed by [Konscript](http://konscript.com), powered by [WordPress](http://wordpress.org), based on [Kontemplate](http://github.com/konscript/kontemplate-wp).

2

3 ## Kontemplate

4

5 For rapid theme development for WordPress, Kontemplate WP provides a rich boilerplate to help you get started building your own parent theme. It's works as a customizable skeleton theme that provides a rich set of default templates and a predefined structure for all theme files.

6

7 The source files can be found at [github.com/konscript/kontemplate-wp](http://github.com/konscript/kontemplate-wp)

9 ## Toolchain

10

11 Out-of-the-box theme tools and configurations include:

12

13 * [Hybrid Core](http://themehybrid.com/hybrid-core) (theme development toolset that provides many useful functions and shortcuts)

25 ## Plugins

26

27 There's a wide array of useful CMS-enabling plugins for WordPress.

28 (Section is WIP)

environment.rb (https://github.com/ruelbargo/ThoughtStream.git) Ruby · 87 lines

4 # Be sure to restart your webserver when you modify this file.

5

6 # The path to the root directory of your application.

7 RAILS_ROOT = File.join(File.dirname(__FILE__), '..')

8

18 ADDITIONAL_LOAD_PATHS = ["#{RAILS_ROOT}/test/mocks/#{RAILS_ENV}"]

19

20 # Then model subdirectories.

21 ADDITIONAL_LOAD_PATHS.concat(Dir["#{RAILS_ROOT}/app/models/[_a-z]*"])

22 ADDITIONAL_LOAD_PATHS.concat(Dir["#{RAILS_ROOT}/components/[_a-z]*"])

56 # Environment-specific configuration.

57 require_dependency "environments/#{RAILS_ENV}"

58 ActiveRecord::Base.configurations = File.open("#{RAILS_ROOT}/config/database.yml") { |f| YAML::load(f) }

59 ActiveRecord::Base.establish_connection

69 RAILS_DEFAULT_LOGGER.warn(

70 "Rails Error: Unable to access log file. Please ensure that log/#{RAILS_ENV}.log exists and is chmod 0666. " +

71 "The log level has been raised to WARN and the output directed to STDERR until the problem is fixed."

72 )

73 end

wp-config.php (https://gitlab.com/juanito.abelo/nlmobile) PHP · 94 lines

4

5 /**

6 * The base configuration for WordPress

7 *

8 * The wp-config.php creation script uses this file during the

23

24 // ** MySQL settings - You can get this info from your web host ** //

25 /** The name of the database for WordPress */

26 define('DB_NAME', 'nladmin_nlmobile');

27

35 define('DB_HOST', 'localhost');

36

37 /** Database Charset to use in creating database tables. */

38 define('DB_CHARSET', 'utf8');

39

48 * Change these to different unique phrases!

49 * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}

50 * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.

wp-config-sample.php (https://github.com/sharpmachine/wakeupmedia.com.git) PHP · 90 lines

1 <?php

2 /**

3 * The base configurations of the WordPress.

4 *

5 * This file has the following configurations: MySQL settings, Table Prefix,

16

17 // ** MySQL settings - You can get this info from your web host ** //

18 /** The name of the database for WordPress */

19 define('DB_NAME', 'database_name_here');

28 define('DB_HOST', 'localhost');

29

30 /** Database Charset to use in creating database tables. */

31 define('DB_CHARSET', 'utf8');

32

39 * Change these to different unique phrases!

40 * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}

41 * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.

wp-config-sample.php (https://github.com/MikeLockz/lockwitz.git) PHP · 90 lines

1 <?php

2 /**

3 * The base configurations of the WordPress.

4 *

5 * This file has the following configurations: MySQL settings, Table Prefix,

16

17 // ** MySQL settings - You can get this info from your web host ** //

18 /** The name of the database for WordPress */

19 define('DB_NAME', 'database_name_here');

28 define('DB_HOST', 'localhost');

29

30 /** Database Charset to use in creating database tables. */

31 define('DB_CHARSET', 'utf8');

32

39 * Change these to different unique phrases!

40 * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}

41 * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.

wp-config-local.php (https://github.com/blank-site/Blank-art-website.git) PHP · 76 lines

1 <?php

2 /**

3 * The base configurations of the WordPress.

4 *

5 * This file has the following configurations: MySQL settings, Table Prefix,

16

17 // ** MySQL settings - You can get this info from your web host ** //

18 /** The name of the database for WordPress */

19 define('DB_NAME', 'blank');

20

39 * Change these to different unique phrases!

40 * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/ WordPress.org secret-key service}

41 * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.

69 /* That's all, stop editing! Happy blogging. */

70

71 /** WordPress absolute path to the Wordpress directory. */

72 if ( !defined('ABSPATH') )

73 define('ABSPATH', dirname(__FILE__) . '/');

SchemaValidator.java (https://github.com/aleksabl/hibernate-core.git) Java · 199 lines

3 *

4 * License: GNU Lesser General Public License (LGPL), version 2.1 or later.

5 * See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.

6 */

7 package org.hibernate.tool.hbm2ddl;

26 import org.hibernate.boot.registry.selector.spi.StrategySelector;

27 import org.hibernate.boot.spi.MetadataImplementor;

28 import org.hibernate.engine.config.spi.ConfigurationService;

29 import org.hibernate.internal.CoreLogging;

30 import org.hibernate.internal.CoreMessageLogger;

37

38 /**

39 * A commandline tool to update a database schema. May also be called from

40 * inside an application.

41 *

Config.php (https://github.com/wp-graphql/wp-graphql.git) PHP · 335 lines

94 **

95 *

96 * @param string $where The WHERE clause of the query.

97 * @param WP_User_Query $query The WP_User_Query instance (passed by reference).

211 * after the referenced cursor

212 *

213 * @param string $where The WHERE clause of the query.

214 * @param \WP_User_Query $query The WP_User_Query instance (passed by reference).

232

233 /**

234 * This filters the term_clauses in the WP_Term_Query to support cursor based pagination, where

235 * we can move forward or backward from a particular record, instead of typical offset

236 * pagination which can be much more expensive and less accurate.

283

284 /**

285 * This returns a modified version of the $pieces of the comment query clauses if the request

286 * is a GraphQL Request and the query has a graphql_cursor_offset defined

wp-config.php (https://github.com/starbunks/Tito.git) PHP · 90 lines

1 <?php

2 /**

3 * The base configurations of the WordPress.

4 *

5 * This file has the following configurations: MySQL settings, Table Prefix,

16

17 // ** MySQL settings - You can get this info from your web host ** //

18 /** The name of the database for WordPress */

19 define('DB_NAME', 'titodb');

20

28 define('DB_HOST', 'mysql.toolsintheoffice.com');

29

30 /** Database Charset to use in creating database tables. */

31 define('DB_CHARSET', 'utf8');

32

39 * Change these to different unique phrases!

40 * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}

41 * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.

wp-config.php.erb (https://github.com/rounders/wordpress-capistrano.git) Ruby HTML · 91 lines

8 * then run cap wordpress:configure to update it on the server.

9 *

10 * The base configurations of the WordPress.

11 *

12 * This file has the following configurations: MySQL settings, Table Prefix,

23

24 // ** MySQL settings - You can get this info from your web host ** //

25 /** The name of the database for WordPress */

26 define('DB_NAME', '<%= wordpress_db_name %>');

54 * Change these to different unique phrases!

55 * You can generate these using the {@link http://api.wordpress.org/secret-key/1.1/ WordPress.org secret-key service}

56 *

57 * @since 2.6.0

83 /* That's all, stop editing! Happy blogging. */

84

85 /** WordPress absolute path to the Wordpress directory. */

86 if ( !defined('ABSPATH') )

87 define('ABSPATH', dirname(__FILE__) . '/');

wp-config-sample.php (https://github.com/livinglab/openlab.git) PHP · 96 lines

1 <?php

2 /**

3 * The base configuration for WordPress

4 *

5 * The wp-config.php creation script uses this file during the installation.

20

21 // ** MySQL settings - You can get this info from your web host ** //

22 /** The name of the database for WordPress */

23 define( 'DB_NAME', 'database_name_here' );

32 define( 'DB_HOST', 'localhost' );

33

34 /** Database charset to use in creating database tables. */

35 define( 'DB_CHARSET', 'utf8' );

36

43 * Change these to different unique phrases! You can generate these using

44 * the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}.

45 *

46 * You can change these at any point in time to invalidate all existing cookies.

README.markdown (https://github.com/holdensmagicalunicorn/modulaise.git) Markdown · 82 lines

3 ===============================================================================

4

5 These instructions cover how to set up the apache server to serve your new

6 project "__PROJECT_NEW_NAME__".

7

22 -------------------------------------------------------------------------------

23

24 Add the following to your Apache configurations file ``__FILE_APACHE_CONFIGURATION__``:

25

26 <VirtualHost 127.0.0.1:80>

47 -------------------------------------------------------------------------------

48

49 Unzip your Wordpress zip-file into the WebContent directory:

50

51 __DIR_WORKSPACE__/__PROJECT_NEW_NAME__/WebContent

PortableLibraryTests.cs (https://github.com/directhex/monodevelop.git) C# · 119 lines

10 // of this software and associated documentation files (the "Software"), to deal

11 // in the Software without restriction, including without limitation the rights

12 // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell

13 // copies of the Software, and to permit persons to whom the Software is

23 // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,

24 // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN

25 // THE SOFTWARE.

81 /// With a PCL project having no references if you add a reference, then remove, then add it

82 /// again then the saved project file will end up no references.

83 /// </summary>

84 [Test]

107 Assert.AreEqual (1, p.References.Count);

108

109 // Ensure the references are saved to the file.

110 sol = (Solution)await Services.ProjectService.ReadWorkspaceItem (Util.GetMonitor (), solFile);

111 p = sol.FindProjectByName ("PortableLibrary") as DotNetProject;

wp-config.php (https://github.com/kartiksubbarao/collabograte.git) PHP · 90 lines

1 <?php

2 /**

3 * The base configurations of the WordPress.

4 *

5 * This file has the following configurations: MySQL settings, Table Prefix,

16

17 // ** MySQL settings - You can get this info from your web host ** //

18 /** The name of the database for WordPress */

19 define('DB_NAME', 'wordpress');

28 define('DB_HOST', 'localhost');

29

30 /** Database Charset to use in creating database tables. */

31 define('DB_CHARSET', 'utf8');

32

39 * Change these to different unique phrases!

40 * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}

41 * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.

wp-config.php (https://gitlab.com/jpatricken/ansible-examples) PHP · 90 lines

1 <?php

2 /**

3 * The base configurations of the WordPress.

4 *

5 * This file has the following configurations: MySQL settings, Table Prefix,

16

17 // ** MySQL settings - You can get this info from your web host ** //

18 /** The name of the database for WordPress */

19 define('DB_NAME', '{{ wp_db_name }}');

20

28 define('DB_HOST', 'localhost');

29

30 /** Database Charset to use in creating database tables. */

31 define('DB_CHARSET', 'utf8');

32

39 * Change these to different unique phrases!

40 * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}

41 * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.

wp-config.php (https://github.com/travisp/moonshine_wordpress.git) PHP · 82 lines

1 <?php

2 /**

3 * The base configurations of the WordPress.

4 *

5 * This file has the following configurations: MySQL settings, Table Prefix,

16

17 // ** MySQL settings - You can get this info from your web host ** //

18 /** The name of the database for WordPress */

19 define('DB_NAME', '<%= options[:db][:name] %>');

20

43 * Change these to different unique phrases!

44 * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/ WordPress.org secret-key service}

45 *

46 * @since 2.6.0

74 /* That's all, stop editing! Happy blogging. */

75

76 /** WordPress absolute path to the Wordpress directory. */

77 if ( !defined('ABSPATH') )

78 define('ABSPATH', dirname(__FILE__) . '/');

wp-config-sample.php (https://github.com/mhoofman/wordpress-heroku.git) PHP · 80 lines

1 <?php

2 /**

3 * The base configurations of the WordPress.

4 *

5 * This file has the following configurations: MySQL settings, Table Prefix,

16

17 // ** MySQL settings - You can get this info from your web host ** //

18 /** The name of the database for WordPress */

19 define('DB_NAME', 'database_name_here');

39 * Change these to different unique phrases!

40 * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}

41 * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.

55

56 /**

57 * WordPress Database Table prefix.

58 *

59 * You can have multiple installations in one database if you give each a unique

wp-config.php.j2 (https://gitlab.com/maticue/ocp-wordpress-demo) Jinja · 81 lines

1 <?php

2 /**

3 * The base configurations of the WordPress.

4 *

5 * This file has the following configurations: MySQL settings, Table Prefix,

16

17 // ** MySQL settings - You can get this info from your web host ** //

18 /** The name of the database for WordPress */

19 define('DB_NAME', '{{ mysql_db_name }}');

20

28 define('DB_HOST', '{{ mysql_server_domain }}');

29

30 /** Database Charset to use in creating database tables. */

31 define('DB_CHARSET', 'utf8');

32

39 * Change these to different unique phrases!

40 * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}

41 * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.

wp-config.php (https://github.com/jevs/ahmal.git) PHP · 92 lines

1 <?php

2 /**

3 * The base configurations of the WordPress.

4 *

5 * This file has the following configurations: MySQL settings, Table Prefix,

16

17 // ** MySQL settings - You can get this info from your web host ** //

18 /** The name of the database for WordPress */

19 if (isset($_SERVER['ENVIRONMENT']) && $_SERVER['ENVIRONMENT'] == 'PAGODA') {

20 define('DB_NAME', $_SERVER['DB_NAME']);

30 }

31

32 /** Database Charset to use in creating database tables. */

33 define('DB_CHARSET', 'utf8');

34

41 * Change these to different unique phrases!

42 * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}

43 * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.

conf.php (https://gitlab.com/campus-academy/krowkaramel) PHP · 81 lines

14 <fieldset id="loco-remote-query">

15 <p>

16 <?php esc_html_e("We have a database of non-standard bundle configurations.\nIf we know your bundle, we'll configure it for you automatically",'loco-translate')?>

17 </p>

18 <p>

19 <select name="vendor">

20 <option value="wordpress"><?php esc_html_e('WordPress','default')?></option>

21 </select>

22 <input type="text" name="slug" value="<?php $params->e('vendorSlug')?>" class="regular-text" />

47 </h3>

48 <p>

49 <?php esc_html_e("If you've been given a configuration file by a developer, paste the XML code here",'loco-translate')?>:

50 </p>

51 <fieldset>

wp-config.php (https://bitbucket.org/alexhora/wordpress-on-heroku.git) PHP · 121 lines

1 <?php

2 /**

3 * The base configurations of the WordPress.

4 *

5 * This file has the following configurations: MySQL settings, Table Prefix,

19

20 // ** MySQL settings - You can get this info from your web host ** //

21 /** The name of the database for WordPress */

22 define("DB_NAME", trim($url["path"], "/"));

23 // define("DB_NAME", "heroku_4eed1f5663e035f");

38 // define("DB_PORT", trim($url["port"]));

39

40 /** Database Charset to use in creating database tables. */

41 define("DB_CHARSET", "utf8");

42

60 * Change these to different unique phrases!

61 * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}

62 * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.

gradients.html (https://bitbucket.org/ultra_iter/qt-vtl.git) HTML · 31 lines

4 </center>

5

6 <p>In this demo we show the various types of gradients that can

7 be used in Qt.</p>

8

9 <p>There are three types of gradients:

10

11 <ul>

21 <p>The panel on the right contains a color table editor that defines

22 the colors in the gradient. The three topmost controls determine the red,

23 green and blue components while the last defines the alpha of the

25 mouse button, and remove points by clicking with the right button.</p>

26

27 <p>There are three default configurations available at the bottom of

28 the page that are provided as suggestions on how a color table could be

wp-config.php (https://github.com/kuzin/website-2008.git) PHP · 80 lines

1 <?php

2 /**

3 * The base configurations of the WordPress.

4 *

5 * This file has the following configurations: MySQL settings, Table Prefix,

29 * Change these to different unique phrases!

30 * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}

31 * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.

55 * WordPress Localized Language, defaults to English.

56 *

57 * Change this to localize WordPress. A corresponding MO file for the chosen

58 * language must be installed to wp-content/languages. For example, install

59 * de_DE.mo to wp-content/languages and set WPLANG to 'de_DE' to enable German

73 /* That's all, stop editing! Happy blogging. */

74

75 /** Absolute path to the WordPress directory. */

76 if ( !defined('ABSPATH') )

77 define('ABSPATH', dirname(__FILE__) . '/');

bb-config-sample.php (https://github.com/voidit/nycga2.git) PHP · 63 lines

1 <?php

2 /**

3 * The base configurations of bbPress.

4 *

5 * This file has the following configurations: MySQL settings, Table Prefix,

13

14 // ** MySQL settings - You can get this info from your web host ** //

15 /** The name of the database for bbPress */

16 define( 'BBDB_NAME', 'bbpress' );

17

28 define( 'BBDB_CHARSET', 'utf8' );

29

30 /** The Database Collate type. Don't change this if in doubt. */

31 define( 'BBDB_COLLATE', '' );

32

36 * Change these to different unique phrases!

37 * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/bbpress/ WordPress.org secret-key service}

38 *

39 * @since 1.0

wp-config-sample.php (https://github.com/wpms/wp-sqlsrv.git) PHP · 121 lines

1 <?php

2 /**

3 * The base configurations of the WordPress.

4 *

5 **************************************************************************

20

21 // ** MySQL settings - You can get this info from your web host ** //

22 /** The name of the database for WordPress */

23 define('DB_NAME', 'wordpress');

57 * Change these to different unique phrases!

58 * You can generate these using the {@link http://api.wordpress.org/secret-key/1.1/wpmu/salt WordPress.org secret-key service}

59 * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.

103 // Set this value to %siteurl% to redirect to the root of the site

104 // define( 'NOBLOGREDIRECT', '' );

105 // On a directory based install you must use the theme 404 handler.

106

107 // Location of mu-plugins

wp-config.php (https://github.com/willnorris/willnorris.com-wordpress.git) PHP · 101 lines

1 <?php

2 /**

3 * The base configurations of the WordPress.

4 *

5 * This file has the following configurations: MySQL settings, Table Prefix,

8 * wp-config.php} Codex page. You can get the MySQL settings from your web host.

9 *

10 * This file is used by the wp-config.php creation script during the

11 * installation. You don't have to use the web site, you can just copy this file

68 * WordPress Localized Language, defaults to English.

69 *

70 * Change this to localize WordPress. A corresponding MO file for the chosen

71 * language must be installed to wp-content/languages. For example, install

72 * de_DE.mo to wp-content/languages and set WPLANG to 'de_DE' to enable German

93 /* That's all, stop editing! Happy blogging. */

94

95 /** Absolute path to the WordPress directory. */

96 if ( !defined('ABSPATH') ) {

97 define('ABSPATH', dirname(__FILE__) . '/wordpress/');

MsooXmlImport.h (https://github.com/KDE/calligra.git) C Header · 176 lines

65 MsooXmlReaderContext* context);

66

67 /*! Copies file @a sourceName from the input archive to the output document

68 under @a destinationName name. @return KoFilter::OK on success.

69 On failure @a errorMessage is set.

74 bool oleFile);

75

76 /* Creates an image to the resulting odf with the given name */

77 KoFilter::ConversionStatus createImage(const QImage& source,

78 const QString& destinationName);

118

119 //! Like @ref loadAndParseDocument(const QByteArray&, MsooXmlReader*, KoOdfWriters*, QString&, MsooXmlReaderContext*)

120 //! but return KoFilter::OK if the document for the content type is not found.

121 KoFilter::ConversionStatus loadAndParseDocumentIfExists(

122 const QByteArray& contentType, MsooXmlReader *reader, KoOdfWriters *writers,

instance_generator.rb (https://github.com/plotchick/bionic_cms.git) Ruby · 132 lines

23 super

24 usage if args.empty?

25 usage("Databases supported for preconfiguration are: #{DATABASES.join(", ")}") if (options[:db] && !DATABASES.include?(options[:db]))

26 @destination_root = args.shift

27 end

28

29 def manifest

30 # The absolute location of the Bionic files

31 root = File.expand_path(BIONIC_ROOT)

32

109 opt.separator 'Options:'

110 opt.on("-r", "--ruby=path", String,

111 "Path to the Ruby binary of your choice (otherwise scripts use env, dispatchers current path).",

112 "Default: #{DEFAULT_SHEBANG}") { |v| options[:shebang] = v }

113 opt.on("-d", "--database=name", String,

wp-config-sample.php (https://gitlab.com/campus-academy/krowkaramel) PHP · 96 lines

1 <?php

2 /**

3 * The base configuration for WordPress

4 *

5 * The wp-config.php creation script uses this file during the installation.

21 // ** Database settings - You can get this info from your web host ** //

22 /** The name of the database for WordPress */

23 define( 'DB_NAME', 'database_name_here' );

32 define( 'DB_HOST', 'localhost' );

33

34 /** Database charset to use in creating database tables. */

35 define( 'DB_CHARSET', 'utf8' );

36

43 * Change these to different unique phrases! You can generate these using

44 * the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}.

45 *

46 * You can change these at any point in time to invalidate all existing cookies.

wp-config.php (https://github.com/jamesgrubb/pianoMusic.git) PHP · 90 lines

1 <?php

2 /**

3 * The base configurations of the WordPress.

4 *

5 * This file has the following configurations: MySQL settings, Table Prefix,

16

17 // ** MySQL settings - You can get this info from your web host ** //

18 /** The name of the database for WordPress */

19 define('DB_NAME', 'pianocourse');

20

28 define('DB_HOST', 'localhost');

29

30 /** Database Charset to use in creating database tables. */

31 define('DB_CHARSET', 'utf8');

32

39 * Change these to different unique phrases!

40 * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}

41 * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.

wp-config.php.erb (https://bitbucket.org/cavneb/cookbooks.git) Ruby HTML · 76 lines

1 <?php

2 /**

3 * The base configurations of the WordPress.

4 *

5 * This file has the following configurations: MySQL settings, Table Prefix,

16

17 // ** MySQL settings - You can get this info from your web host ** //

18 /** The name of the database for WordPress */

19 define('DB_NAME', '<%= @database['database'] %>');

39 * Change these to different unique phrases!

40 * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/ WordPress.org secret-key service}

41 * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.

69 /* That's all, stop editing! Happy blogging. */

70

71 /** WordPress absolute path to the Wordpress directory. */

72 if ( !defined('ABSPATH') )

73 define('ABSPATH', dirname(__FILE__) . '/');

DictionaryConfigurationUtilsTests.cs (https://github.com/sillsdev/FieldWorks.git) C# · 95 lines

27

28 [Test]

29 public void GatherBuiltInAndUserConfigurations_ReturnsShippedConfigurations()

30 {

31 var configObjectName = "Dictionary";

32 // SUT

33 var fileListFromResults = DictionaryConfigurationUtils.GatherBuiltInAndUserConfigurations(Cache, configObjectName).Values;

34 var shippedFileList = Directory.EnumerateFiles(Path.Combine(FwDirectoryFinder.DefaultConfigurations, "Dictionary"),

38

39 [Test]

40 public void GatherBuiltInAndUserConfigurations_ReturnsProjectAndShippedConfigs()

41 {

42 var configObjectName = "Dictionary";

50 "<?xml version='1.0' encoding='utf-8'?><DictionaryConfiguration name='New User Config'/>");

51 // SUT

52 var fileListFromResults = DictionaryConfigurationUtils.GatherBuiltInAndUserConfigurations(Cache, configObjectName).Values;

53 var shippedFileList = Directory.EnumerateFiles(Path.Combine(FwDirectoryFinder.DefaultConfigurations, "Dictionary"),

about.php (https://gitlab.com/mostafame/team_website) PHP · 25 lines

1 <div class="about-content-wrap settings-content" style="display: none;">

2 <h2>About Us</h2>

3 <p>8 degree Coming Soon page is a FREE WordPress plugin used for a website under construction, coming soon or in maintenance mode. The plugin is developed with all the basic features required to build a beautiful and secure coming soon page. Though it’s free, the features are worth a value. The major features are:Option to configure background(color, background image) ,Text configurations option, Email subscription, Social icons, Fully responsive, Translation ready etc.</p>

4

5 <p>Though it’s free, the features are worth a value.The plugin comprises the latest and fashionable plugin features that make a plugin worth a look at. Let’s check the major features of the plugin below:</p>

8

9

10 <p><strong>2. Text configurations option:</strong> It has simple text configuration options as well. You can configure headline , main text and footer credit easily. You can choose font color for the text anywhere in the page.</p>

11

12

21 <p><strong>6. Mobile responsive and translation ready:</strong> The plugin is fully responsive that has good performance on any device. Besides, it is translation ready which can be translated into any language of the world.</p>

22

23 <p>If your website is undergoing construction or maintenance, you should let your existing or potential visitors know that you are coming soon with an elegant website and also start making the best impression on them simultaneously. They say, “The first impression is the last.” and similarly “You don’t get a second chance to make your first impression best.” By creating a coming soon page, you are not only informing your visitors about your next venture but also making an impression on them. It’s possible make your impression last longer,only when you create your ‘Coming Soon’ page unique and attractive. It’s like trailer of a movie that determines the number of viewers in the movie halls after the movie is released. So, why not make an elegant ‘Coming Soon’ page?</p>

24

25 </div>

wp-config.php (https://gitlab.com/darmawan.fatria/df-skp-2014) PHP · 82 lines

1 <?php

2 /**

3 * The base configurations of the WordPress.

4 *

5 * This file has the following configurations: MySQL settings, Table Prefix,

16

17 // ** MySQL settings - You can get this info from your web host ** //

18 /** The name of the database for WordPress */

19 define('WP_CACHE', true); //Added by WP-Cache Manager

20 define( 'WPCACHEHOME', '/home/openerp/addons/skp-addons/df_home/static/test/portalbkd/wp-content/plugins/wp-super-cache/' ); //Added by WP-Cache Manager

30 define('DB_HOST', 'localhost');

31

32 /** Database Charset to use in creating database tables. */

33 define('DB_CHARSET', 'utf8');

34

41 * Change these to different unique phrases!

42 * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}

43 * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.

fckeditorcode_ie.js (http://uniquestudiocms.googlecode.com/svn/trunk/) JavaScript · 110 lines ✨ Summary

This JavaScript code is part of a rich text editor (FCK) plugin system. It defines various functions and classes for managing plugins, contexts, and iterators. The FCK_ContextMenu_OnItemClick function executes a command when an item is clicked in the context menu, while FCKHtmlIterator iterates over HTML tags or values. The code also loads plugins and their languages, setting up the plugin system’s infrastructure.

30 var FCKEvents=function(A){this.Owner=A;this._RegisteredEvents={};};FCKEvents.prototype.AttachEvent=function(A,B){var C;if (!(C=this._RegisteredEvents[A])) this._RegisteredEvents[A]=[B];else{if (C.IndexOf(B)==-1) C.push(B);}};FCKEvents.prototype.FireEvent=function(A,B){var C=true;var D=this._RegisteredEvents[A];if (D){for (var i=0;i<D.length;i++){try{C=(D[i](this.Owner,B)&&C);}catch(e){if (e.number!=-2146823277) throw e;}}};return C;};

31 var FCKDataProcessor=function(){};FCKDataProcessor.prototype={ConvertToHtml:function(A){if (FCKConfig.FullPage){FCK.DocTypeDeclaration=A.match(FCKRegexLib.DocTypeTag);if (!FCKRegexLib.HasBodyTag.test(A)) A='<body>'+A+'</body>';if (!FCKRegexLib.HtmlOpener.test(A)) A='<html dir="'+FCKConfig.ContentLangDirection+'">'+A+'</html>';if (!FCKRegexLib.HeadOpener.test(A)) A=A.replace(FCKRegexLib.HtmlOpener,'$&<head><title></title></head>');return A;}else{var B=FCKConfig.DocType+'<html dir="'+FCKConfig.ContentLangDirection+'"';if (FCKBrowserInfo.IsIE&&FCKConfig.DocType.length>0&&!FCKRegexLib.Html4DocType.test(FCKConfig.DocType)) B+=' style="overflow-y: scroll"';B+='><head><title></title></head><body'+FCKConfig.GetBodyAttributes()+'>'+A+'</body></html>';return B;}},ConvertToDataFormat:function(A,B,C,D){var E=FCKXHtml.GetXHTML(A,!B,D);if (C&&FCKRegexLib.EmptyOutParagraph.test(E)) return '';return E;},FixHtml:function(A){return A;}};

32 var FCK={Name:FCKURLParams['InstanceName'],Status:0,EditMode:0,Toolbar:null,HasFocus:false,DataProcessor:new FCKDataProcessor(),GetInstanceObject:(function(){var w=window;return function(name){return w[name];}})(),AttachToOnSelectionChange:function(A){this.Events.AttachEvent('OnSelectionChange',A);},GetLinkedFieldValue:function(){return this.LinkedField.value;},GetParentForm:function(){return this.LinkedField.form;},StartupValue:'',IsDirty:function(){if (this.EditMode==1) return (this.StartupValue!=this.EditingArea.Textarea.value);else{if (!this.EditorDocument) return false;return (this.StartupValue!=this.EditorDocument.body.innerHTML);}},ResetIsDirty:function(){if (this.EditMode==1) this.StartupValue=this.EditingArea.Textarea.value;else if (this.EditorDocument.body) this.StartupValue=this.EditorDocument.body.innerHTML;},StartEditor:function(){this.TempBaseTag=FCKConfig.BaseHref.length>0?'<base href="'+FCKConfig.BaseHref+'" _fcktemp="true"></base>':'';var A=FCK.KeystrokeHandler=new FCKKeystrokeHandler();A.OnKeystroke=_FCK_KeystrokeHandler_OnKeystroke;A.SetKeystrokes(FCKConfig.Keystrokes);if (FCKBrowserInfo.IsIE7){if ((CTRL+86) in A.Keystrokes) A.SetKeystrokes([CTRL+86,true]);if ((SHIFT+45) in A.Keystrokes) A.SetKeystrokes([SHIFT+45,true]);};A.SetKeystrokes([CTRL+8,true]);this.EditingArea=new FCKEditingArea(document.getElementById('xEditingArea'));this.EditingArea.FFSpellChecker=FCKConfig.FirefoxSpellChecker;this.SetData(this.GetLinkedFieldValue(),true);FCKTools.AddEventListener(document,"keydown",this._TabKeyHandler);this.AttachToOnSelectionChange(_FCK_PaddingNodeListener);if (FCKBrowserInfo.IsGecko) this.AttachToOnSelectionChange(this._ExecCheckEmptyBlock);},Focus:function(){FCK.EditingArea.Focus();},SetStatus:function(A){this.Status=A;if (A==1){FCKFocusManager.AddWindow(window,true);if (FCKBrowserInfo.IsIE) FCKFocusManager.AddWindow(window.frameElement,true);if (FCKConfig.StartupFocus) FCK.Focus();};this.Events.FireEvent('OnStatusChange',A);},FixBody:function(){var A=FCKConfig.EnterMode;if (A!='p'&&A!='div') return;var B=this.EditorDocument;if (!B) return;var C=B.body;if (!C) return;FCKDomTools.TrimNode(C);var D=C.firstChild;var E;while (D){var F=false;switch (D.nodeType){case 1:var G=D.nodeName.toLowerCase();if (!FCKListsLib.BlockElements[G]&&G!='li'&&!D.getAttribute('_fckfakelement')&&D.getAttribute('_moz_dirty')==null) F=true;break;case 3:if (E||D.nodeValue.Trim().length>0) F=true;break;case 8:if (E) F=true;break;};if (F){var H=D.parentNode;if (!E) E=H.insertBefore(B.createElement(A),D);E.appendChild(H.removeChild(D));D=E.nextSibling;}else{if (E){FCKDomTools.TrimNode(E);E=null;};D=D.nextSibling;}};if (E) FCKDomTools.TrimNode(E);},GetData:function(A){if (FCK.EditMode==1) return FCK.EditingArea.Textarea.value;this.FixBody();var B=FCK.EditorDocument;if (!B) return null;var C=FCKConfig.FullPage;var D=FCK.DataProcessor.ConvertToDataFormat(C?B.documentElement:B.body,!C,FCKConfig.IgnoreEmptyParagraphValue,A);D=FCK.ProtectEventsRestore(D);if (FCKBrowserInfo.IsIE) D=D.replace(FCKRegexLib.ToReplace,'$1');if (C){if (FCK.DocTypeDeclaration&&FCK.DocTypeDeclaration.length>0) D=FCK.DocTypeDeclaration+'\n'+D;if (FCK.XmlDeclaration&&FCK.XmlDeclaration.length>0) D=FCK.XmlDeclaration+'\n'+D;};return FCKConfig.ProtectedSource.Revert(D);},UpdateLinkedField:function(){var A=FCK.GetXHTML(FCKConfig.FormatOutput);if (FCKConfig.HtmlEncodeOutput) A=FCKTools.HTMLEncode(A);FCK.LinkedField.value=A;FCK.Events.FireEvent('OnAfterLinkedFieldUpdate');},RegisteredDoubleClickHandlers:{},OnDoubleClick:function(A){var B=FCK.RegisteredDoubleClickHandlers[A.tagName.toUpperCase()];if (B){for (var i=0;i<B.length;i++) B[i](A);};B=FCK.RegisteredDoubleClickHandlers['*'];if (B){for (var i=0;i<B.length;i++) B[i](A);}},RegisterDoubleClickHandler:function(A,B){var C=B||'*';C=C.toUpperCase();var D;if (!(D=FCK.RegisteredDoubleClickHandlers[C])) FCK.RegisteredDoubleClickHandlers[C]=[A];else{if (D.IndexOf(A)==-1) D.push(A);}},OnAfterSetHTML:function(){FCKDocumentProcessor.Process(FCK.EditorDocument);FCKUndo.SaveUndoStep();FCK.Events.FireEvent('OnSelectionChange');FCK.Events.FireEvent('OnAfterSetHTML');},ProtectUrls:function(A){A=A.replace(FCKRegexLib.ProtectUrlsA,'$& _fcksavedurl=$1');A=A.replace(FCKRegexLib.ProtectUrlsImg,'$& _fcksavedurl=$1');A=A.replace(FCKRegexLib.ProtectUrlsArea,'$& _fcksavedurl=$1');return A;},ProtectEvents:function(A){return A.replace(FCKRegexLib.TagsWithEvent,_FCK_ProtectEvents_ReplaceTags);},ProtectEventsRestore:function(A){return A.replace(FCKRegexLib.ProtectedEvents,_FCK_ProtectEvents_RestoreEvents);},ProtectTags:function(A){var B=FCKConfig.ProtectedTags;if (FCKBrowserInfo.IsIE) B+=B.length>0?'|ABBR|XML|EMBED|OBJECT':'ABBR|XML|EMBED|OBJECT';var C;if (B.length>0){C=new RegExp('<('+B+')(?!\w|:)','gi');A=A.replace(C,'<FCK:$1');C=new RegExp('<\/('+B+')>','gi');A=A.replace(C,'<\/FCK:$1>');};B='META';if (FCKBrowserInfo.IsIE) B+='|HR';C=new RegExp('<(('+B+')(?=\\s|>|/)[\\s\\S]*?)/?>','gi');A=A.replace(C,'<FCK:$1 />');return A;},SetData:function(A,B){this.EditingArea.Mode=FCK.EditMode;if (FCKBrowserInfo.IsIE&&FCK.EditorDocument){FCK.EditorDocument.detachEvent("onselectionchange",Doc_OnSelectionChange);};FCKTempBin.Reset();if (FCK.EditMode==0){this._ForceResetIsDirty=(B===true);A=FCKConfig.ProtectedSource.Protect(A);A=FCK.DataProcessor.ConvertToHtml(A);A=A.replace(FCKRegexLib.InvalidSelfCloseTags,'$1></$2>');A=FCK.ProtectEvents(A);A=FCK.ProtectUrls(A);A=FCK.ProtectTags(A);if (FCK.TempBaseTag.length>0&&!FCKRegexLib.HasBaseTag.test(A)) A=A.replace(FCKRegexLib.HeadOpener,'$&'+FCK.TempBaseTag);var C='';if (!FCKConfig.FullPage) C+=_FCK_GetEditorAreaStyleTags();if (FCKBrowserInfo.IsIE) C+=FCK._GetBehaviorsStyle();else if (FCKConfig.ShowBorders) C+=FCKTools.GetStyleHtml(FCK_ShowTableBordersCSS,true);C+=FCKTools.GetStyleHtml(FCK_InternalCSS,true);A=A.replace(FCKRegexLib.HeadCloser,C+'$&');this.EditingArea.OnLoad=_FCK_EditingArea_OnLoad;this.EditingArea.Start(A);}else{FCK.EditorWindow=null;FCK.EditorDocument=null;FCKDomTools.PaddingNode=null;this.EditingArea.OnLoad=null;this.EditingArea.Start(A);this.EditingArea.Textarea._FCKShowContextMenu=true;FCK.EnterKeyHandler=null;if (B) this.ResetIsDirty();FCK.KeystrokeHandler.AttachToElement(this.EditingArea.Textarea);this.EditingArea.Textarea.focus();FCK.Events.FireEvent('OnAfterSetHTML');};if (FCKBrowserInfo.IsGecko) window.onresize();},RedirectNamedCommands:{},ExecuteNamedCommand:function(A,B,C,D){if (!D) FCKUndo.SaveUndoStep();if (!C&&FCK.RedirectNamedCommands[A]!=null) FCK.ExecuteRedirectedNamedCommand(A,B);else{FCK.Focus();FCK.EditorDocument.execCommand(A,false,B);FCK.Events.FireEvent('OnSelectionChange');};if (!D) FCKUndo.SaveUndoStep();},GetNamedCommandState:function(A){try{if (FCKBrowserInfo.IsSafari&&FCK.EditorWindow&&A.IEquals('Paste')) return 0;if (!FCK.EditorDocument.queryCommandEnabled(A)) return -1;else{return FCK.EditorDocument.queryCommandState(A)?1:0;}}catch (e){return 0;}},GetNamedCommandValue:function(A){var B='';var C=FCK.GetNamedCommandState(A);if (C==-1) return null;try{B=this.EditorDocument.queryCommandValue(A);}catch(e) {};return B?B:'';},Paste:function(A){if (FCK.Status!=2||!FCK.Events.FireEvent('OnPaste')) return false;return A||FCK._ExecPaste();},PasteFromWord:function(){FCKDialog.OpenDialog('FCKDialog_Paste',FCKLang.PasteFromWord,'dialog/fck_paste.html',400,330,'Word');},Preview:function(){var A;if (FCKConfig.FullPage){if (FCK.TempBaseTag.length>0) A=FCK.TempBaseTag+FCK.GetXHTML();else A=FCK.GetXHTML();}else{A=FCKConfig.DocType+'<html dir="'+FCKConfig.ContentLangDirection+'"><head>'+FCK.TempBaseTag+'<title>'+FCKLang.Preview+'</title>'+_FCK_GetEditorAreaStyleTags()+'</head><body'+FCKConfig.GetBodyAttributes()+'>'+FCK.GetXHTML()+'</body></html>';};var B=FCKConfig.ScreenWidth*0.8;var C=FCKConfig.ScreenHeight*0.7;var D=(FCKConfig.ScreenWidth-B)/2;var E='';if (FCK_IS_CUSTOM_DOMAIN&&FCKBrowserInfo.IsIE){window._FCKHtmlToLoad=A;E='javascript:void( (function(){document.open() ;document.domain="'+document.domain+'" ;document.write( window.opener._FCKHtmlToLoad );document.close() ;window.opener._FCKHtmlToLoad = null ;})() )';};var F=window.open(E,null,'toolbar=yes,location=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width='+B+',height='+C+',left='+D);if (!FCK_IS_CUSTOM_DOMAIN||!FCKBrowserInfo.IsIE){F.document.write(A);F.document.close();}},SwitchEditMode:function(A){var B=(FCK.EditMode==0);var C=FCK.IsDirty();var D;if (B){FCKCommands.GetCommand('ShowBlocks').SaveState();if (!A&&FCKBrowserInfo.IsIE) FCKUndo.SaveUndoStep();D=FCK.GetXHTML(FCKConfig.FormatSource);if (FCKBrowserInfo.IsIE) FCKTempBin.ToHtml();if (D==null) return false;}else D=this.EditingArea.Textarea.value;FCK.EditMode=B?1:0;FCK.SetData(D,!C);FCK.Focus();FCKTools.RunFunction(FCK.ToolbarSet.RefreshModeState,FCK.ToolbarSet);return true;},InsertElement:function(A){if (typeof A=='string') A=this.EditorDocument.createElement(A);var B=A.nodeName.toLowerCase();FCKSelection.Restore();var C=new FCKDomRange(this.EditorWindow);C.MoveToSelection();C.DeleteContents();if (FCKListsLib.BlockElements[B]!=null){if (C.StartBlock){if (C.CheckStartOfBlock()) C.MoveToPosition(C.StartBlock,3);else if (C.CheckEndOfBlock()) C.MoveToPosition(C.StartBlock,4);else C.SplitBlock();};C.InsertNode(A);var D=FCKDomTools.GetNextSourceElement(A,false,null,['hr','br','param','img','area','input'],true);if (!D&&FCKConfig.EnterMode!='br'){D=this.EditorDocument.body.appendChild(this.EditorDocument.createElement(FCKConfig.EnterMode));if (FCKBrowserInfo.IsGeckoLike) FCKTools.AppendBogusBr(D);};if (FCKListsLib.EmptyElements[B]==null) C.MoveToElementEditStart(A);else if (D) C.MoveToElementEditStart(D);else C.MoveToPosition(A,4);if (FCKBrowserInfo.IsGeckoLike){if (D) FCKDomTools.ScrollIntoView(D,false);FCKDomTools.ScrollIntoView(A,false);}}else{C.InsertNode(A);C.SetStart(A,4);C.SetEnd(A,4);};C.Select();C.Release();this.Focus();return A;},_InsertBlockElement:function(A){},_IsFunctionKey:function(A){if (A>=16&&A<=20) return true;if (A==27||(A>=33&&A<=40)) return true;if (A==45) return true;return false;},_KeyDownListener:function(A){if (!A) A=FCK.EditorWindow.event;if (FCK.EditorWindow){if (!FCK._IsFunctionKey(A.keyCode)&&!(A.ctrlKey||A.metaKey)&&!(A.keyCode==46)) FCK._KeyDownUndo();};return true;},_KeyDownUndo:function(){if (!FCKUndo.Typing){FCKUndo.SaveUndoStep();FCKUndo.Typing=true;FCK.Events.FireEvent("OnSelectionChange");};FCKUndo.TypesCount++;FCKUndo.Changed=1;if (FCKUndo.TypesCount>FCKUndo.MaxTypes){FCKUndo.TypesCount=0;FCKUndo.SaveUndoStep();}},_TabKeyHandler:function(A){if (!A) A=window.event;var B=A.keyCode;if (B==9&&FCK.EditMode!=0){if (FCKBrowserInfo.IsIE){var C=document.selection.createRange();if (C.parentElement()!=FCK.EditingArea.Textarea) return true;C.text='\t';C.select();}else{var a=[];var D=FCK.EditingArea.Textarea;var E=D.selectionStart;var F=D.selectionEnd;a.push(D.value.substr(0,E));a.push('\t');a.push(D.value.substr(F));D.value=a.join('');D.setSelectionRange(E+1,E+1);};if (A.preventDefault) return A.preventDefault();return A.returnValue=false;};return true;}};FCK.Events=new FCKEvents(FCK);FCK.GetHTML=FCK.GetXHTML=FCK.GetData;FCK.SetHTML=FCK.SetData;FCK.InsertElementAndGetIt=FCK.CreateElement=FCK.InsertElement;function _FCK_ProtectEvents_ReplaceTags(A){return A.replace(FCKRegexLib.EventAttributes,_FCK_ProtectEvents_ReplaceEvents);};function _FCK_ProtectEvents_ReplaceEvents(A,B){return ' '+B+'_fckprotectedatt="'+encodeURIComponent(A)+'"';};function _FCK_ProtectEvents_RestoreEvents(A,B){return decodeURIComponent(B);};function _FCK_MouseEventsListener(A){if (!A) A=window.event;if (A.type=='mousedown') FCK.MouseDownFlag=true;else if (A.type=='mouseup') FCK.MouseDownFlag=false;else if (A.type=='mousemove') FCK.Events.FireEvent('OnMouseMove',A);};function _FCK_PaddingNodeListener(){if (FCKConfig.EnterMode.IEquals('br')) return;FCKDomTools.EnforcePaddingNode(FCK.EditorDocument,FCKConfig.EnterMode);if (!FCKBrowserInfo.IsIE&&FCKDomTools.PaddingNode){var A=FCKSelection.GetSelection();if (A&&A.rangeCount==1){var B=A.getRangeAt(0);if (B.collapsed&&B.startContainer==FCK.EditorDocument.body&&B.startOffset==0){B.selectNodeContents(FCKDomTools.PaddingNode);B.collapse(true);A.removeAllRanges();A.addRange(B);}}}else if (FCKDomTools.PaddingNode){var C=FCKSelection.GetParentElement();var D=FCKDomTools.PaddingNode;if (C&&C.nodeName.IEquals('body')){if (FCK.EditorDocument.body.childNodes.length==1&&FCK.EditorDocument.body.firstChild==D){if (FCKSelection._GetSelectionDocument(FCK.EditorDocument.selection)!=FCK.EditorDocument) return;var B=FCK.EditorDocument.body.createTextRange();var F=false;if (!D.childNodes.firstChild){D.appendChild(FCKTools.GetElementDocument(D).createTextNode('\ufeff'));F=true;};B.moveToElementText(D);B.select();if (F) B.pasteHTML('');}}}};function _FCK_EditingArea_OnLoad(){FCK.EditorWindow=FCK.EditingArea.Window;FCK.EditorDocument=FCK.EditingArea.Document;if (FCKBrowserInfo.IsIE) FCKTempBin.ToElements();FCK.InitializeBehaviors();FCK.MouseDownFlag=false;FCKTools.AddEventListener(FCK.EditorDocument,'mousemove',_FCK_MouseEventsListener);FCKTools.AddEventListener(FCK.EditorDocument,'mousedown',_FCK_MouseEventsListener);FCKTools.AddEventListener(FCK.EditorDocument,'mouseup',_FCK_MouseEventsListener);if (FCKBrowserInfo.IsSafari){var A=function(evt){if (!(evt.ctrlKey||evt.metaKey)) return;if (FCK.EditMode!=0) return;switch (evt.keyCode){case 89:FCKUndo.Redo();break;case 90:FCKUndo.Undo();break;}};FCKTools.AddEventListener(FCK.EditorDocument,'keyup',A);};FCK.EnterKeyHandler=new FCKEnterKey(FCK.EditorWindow,FCKConfig.EnterMode,FCKConfig.ShiftEnterMode,FCKConfig.TabSpaces);FCK.KeystrokeHandler.AttachToElement(FCK.EditorDocument);if (FCK._ForceResetIsDirty) FCK.ResetIsDirty();if (FCKBrowserInfo.IsIE&&FCK.HasFocus) FCK.EditorDocument.body.setActive();FCK.OnAfterSetHTML();FCKCommands.GetCommand('ShowBlocks').RestoreState();if (FCK.Status!=0) return;FCK.SetStatus(1);};function _FCK_GetEditorAreaStyleTags(){return FCKTools.GetStyleHtml(FCKConfig.EditorAreaCSS)+FCKTools.GetStyleHtml(FCKConfig.EditorAreaStyles);};function _FCK_KeystrokeHandler_OnKeystroke(A,B){if (FCK.Status!=2) return false;if (FCK.EditMode==0){switch (B){case 'Paste':return!FCK.Paste();case 'Cut':FCKUndo.SaveUndoStep();return false;}}else{if (B.Equals('Paste','Undo','Redo','SelectAll','Cut')) return false;};var C=FCK.Commands.GetCommand(B);if (C.GetState()==-1) return false;return (C.Execute.apply(C,FCKTools.ArgumentsToArray(arguments,2))!==false);};(function(){var A=window.parent.document;var B=A.getElementById(FCK.Name);var i=0;while (B||i==0){if (B&&B.tagName.toLowerCase().Equals('input','textarea')){FCK.LinkedField=B;break;};B=A.getElementsByName(FCK.Name)[i++];}})();var FCKTempBin={Elements:[],AddElement:function(A){var B=this.Elements.length;this.Elements[B]=A;return B;},RemoveElement:function(A){var e=this.Elements[A];this.Elements[A]=null;return e;},Reset:function(){var i=0;while (i<this.Elements.length) this.Elements[i++]=null;this.Elements.length=0;},ToHtml:function(){for (var i=0;i<this.Elements.length;i++){this.Elements[i]='<div>&nbsp;'+this.Elements[i].outerHTML+'</div>';this.Elements[i].isHtml=true;}},ToElements:function(){var A=FCK.EditorDocument.createElement('div');for (var i=0;i<this.Elements.length;i++){if (this.Elements[i].isHtml){A.innerHTML=this.Elements[i];this.Elements[i]=A.firstChild.removeChild(A.firstChild.lastChild);}}}};var FCKFocusManager=FCK.FocusManager={IsLocked:false,AddWindow:function(A,B){var C;if (FCKBrowserInfo.IsIE) C=A.nodeType==1?A:A.frameElement?A.frameElement:A.document;else if (FCKBrowserInfo.IsSafari) C=A;else C=A.document;FCKTools.AddEventListener(C,'blur',FCKFocusManager_Win_OnBlur);FCKTools.AddEventListener(C,'focus',B?FCKFocusManager_Win_OnFocus_Area:FCKFocusManager_Win_OnFocus);},RemoveWindow:function(A){if (FCKBrowserInfo.IsIE) oTarget=A.nodeType==1?A:A.frameElement?A.frameElement:A.document;else oTarget=A.document;FCKTools.RemoveEventListener(oTarget,'blur',FCKFocusManager_Win_OnBlur);FCKTools.RemoveEventListener(oTarget,'focus',FCKFocusManager_Win_OnFocus_Area);FCKTools.RemoveEventListener(oTarget,'focus',FCKFocusManager_Win_OnFocus);},Lock:function(){this.IsLocked=true;},Unlock:function(){if (this._HasPendingBlur) FCKFocusManager._Timer=window.setTimeout(FCKFocusManager_FireOnBlur,100);this.IsLocked=false;},_ResetTimer:function(){this._HasPendingBlur=false;if (this._Timer){window.clearTimeout(this._Timer);delete this._Timer;}}};function FCKFocusManager_Win_OnBlur(){if (typeof(FCK)!='undefined'&&FCK.HasFocus){FCKFocusManager._ResetTimer();FCKFocusManager._Timer=window.setTimeout(FCKFocusManager_FireOnBlur,100);}};function FCKFocusManager_FireOnBlur(){if (FCKFocusManager.IsLocked) FCKFocusManager._HasPendingBlur=true;else{FCK.HasFocus=false;FCK.Events.FireEvent("OnBlur");}};function FCKFocusManager_Win_OnFocus_Area(){if (FCKFocusManager._IsFocusing) return;FCKFocusManager._IsFocusing=true;FCK.Focus();FCKFocusManager_Win_OnFocus();FCKTools.RunFunction(function(){delete FCKFocusManager._IsFocusing;});};function FCKFocusManager_Win_OnFocus(){FCKFocusManager._ResetTimer();if (!FCK.HasFocus&&!FCKFocusManager.IsLocked){FCK.HasFocus=true;FCK.Events.FireEvent("OnFocus");}};(function(){var A=window.frameElement;var B=A.width;var C=A.height;if (/^\d+$/.test(B)) B+='px';if (/^\d+$/.test(C)) C+='px';var D=A.style;D.border=D.padding=D.margin=0;D.backgroundColor='transparent';D.backgroundImage='none';D.width=B;D.height=C;})();

33 FCK.Description="FCKeditor for Internet Explorer 5.5+";FCK._GetBehaviorsStyle=function(){if (!FCK._BehaviorsStyle){var A=FCKConfig.BasePath;var B='';var C;C='<style type="text/css" _fcktemp="true">';if (FCKConfig.ShowBorders) B='url('+A+'css/behaviors/showtableborders.htc)';C+='INPUT,TEXTAREA,SELECT,.FCK__Anchor,.FCK__PageBreak,.FCK__InputHidden';if (FCKConfig.DisableObjectResizing){C+=',IMG';B+=' url('+A+'css/behaviors/disablehandles.htc)';};C+=' { behavior: url('+A+'css/behaviors/disablehandles.htc) ; }';if (B.length>0) C+='TABLE { behavior: '+B+' ; }';C+='</style>';FCK._BehaviorsStyle=C;};return FCK._BehaviorsStyle;};function Doc_OnMouseUp(){if (FCK.EditorWindow.event.srcElement.tagName=='HTML'){FCK.Focus();FCK.EditorWindow.event.cancelBubble=true;FCK.EditorWindow.event.returnValue=false;}};function Doc_OnPaste(){var A=FCK.EditorDocument.body;A.detachEvent('onpaste',Doc_OnPaste);var B=FCK.Paste(!FCKConfig.ForcePasteAsPlainText&&!FCKConfig.AutoDetectPasteFromWord);A.attachEvent('onpaste',Doc_OnPaste);return B;};function Doc_OnDblClick(){FCK.OnDoubleClick(FCK.EditorWindow.event.srcElement);FCK.EditorWindow.event.cancelBubble=true;};function Doc_OnSelectionChange(){if (!FCK.IsSelectionChangeLocked&&FCK.EditorDocument) FCK.Events.FireEvent("OnSelectionChange");};function Doc_OnDrop(){if (FCK.MouseDownFlag){FCK.MouseDownFlag=false;return;};if (FCKConfig.ForcePasteAsPlainText){var A=FCK.EditorWindow.event;if (FCK._CheckIsPastingEnabled()||FCKConfig.ShowDropDialog) FCK.PasteAsPlainText(A.dataTransfer.getData('Text'));A.returnValue=false;A.cancelBubble=true;}};FCK.InitializeBehaviors=function(A){this.EditorDocument.attachEvent('onmouseup',Doc_OnMouseUp);this.EditorDocument.body.attachEvent('onpaste',Doc_OnPaste);this.EditorDocument.body.attachEvent('ondrop',Doc_OnDrop);FCK.ContextMenu._InnerContextMenu.AttachToElement(FCK.EditorDocument.body);this.EditorDocument.attachEvent("onkeydown",FCK._KeyDownListener);this.EditorDocument.attachEvent("ondblclick",Doc_OnDblClick);this.EditorDocument.attachEvent("onbeforedeactivate",function(){ FCKSelection.Save(true);});this.EditorDocument.attachEvent("onselectionchange",Doc_OnSelectionChange);FCKTools.AddEventListener(FCK.EditorDocument,'mousedown',Doc_OnMouseDown);};FCK.InsertHtml=function(A){A=FCKConfig.ProtectedSource.Protect(A);A=FCK.ProtectEvents(A);A=FCK.ProtectUrls(A);A=FCK.ProtectTags(A);FCKSelection.Restore();FCK.EditorWindow.focus();FCKUndo.SaveUndoStep();var B=FCKSelection.GetSelection();if (B.type.toLowerCase()=='control') B.clear();A='<span id="__fakeFCKRemove__" style="display:none;">fakeFCKRemove</span>'+A;B.createRange().pasteHTML(A);FCK.EditorDocument.getElementById('__fakeFCKRemove__').removeNode(true);FCKDocumentProcessor.Process(FCK.EditorDocument);this.Events.FireEvent("OnSelectionChange");};FCK.SetInnerHtml=function(A){var B=FCK.EditorDocument;B.body.innerHTML='<div id="__fakeFCKRemove__">&nbsp;</div>'+A;B.getElementById('__fakeFCKRemove__').removeNode(true);};function FCK_PreloadImages(){var A=new FCKImagePreloader();A.AddImages(FCKConfig.PreloadImages);A.AddImages(FCKConfig.SkinPath+'fck_strip.gif');A.OnComplete=LoadToolbarSetup;A.Start();};function Document_OnContextMenu(){return (event.srcElement._FCKShowContextMenu==true);};document.oncontextmenu=Document_OnContextMenu;function FCK_Cleanup(){this.LinkedField=null;this.EditorWindow=null;this.EditorDocument=null;};FCK._ExecPaste=function(){if (FCK._PasteIsRunning) return true;if (FCKConfig.ForcePasteAsPlainText){FCK.PasteAsPlainText();return false;};var A=FCK._CheckIsPastingEnabled(true);if (A===false) FCKTools.RunFunction(FCKDialog.OpenDialog,FCKDialog,['FCKDialog_Paste',FCKLang.Paste,'dialog/fck_paste.html',400,330,'Security']);else{if (FCKConfig.AutoDetectPasteFromWord&&A.length>0){var B=/<\w[^>]*(( class="?MsoNormal"?)|(="mso-))/gi;if (B.test(A)){if (confirm(FCKLang.PasteWordConfirm)){FCK.PasteFromWord();return false;}}};FCK._PasteIsRunning=true;FCK.ExecuteNamedCommand('Paste');delete FCK._PasteIsRunning;};return false;};FCK.PasteAsPlainText=function(A){if (!FCK._CheckIsPastingEnabled()){FCKDialog.OpenDialog('FCKDialog_Paste',FCKLang.PasteAsText,'dialog/fck_paste.html',400,330,'PlainText');return;};var B=null;if (!A) B=clipboardData.getData("Text");else B=A;if (B&&B.length>0){B=FCKTools.HTMLEncode(B);B=FCKTools.ProcessLineBreaks(window,FCKConfig,B);var C=B.search('</p>');var D=B.search('<p>');if ((C!=-1&&D!=-1&&C<D)||(C!=-1&&D==-1)){var E=B.substr(0,C);B=B.substr(C+4);this.InsertHtml(E);};FCKUndo.SaveLocked=true;this.InsertHtml(B);FCKUndo.SaveLocked=false;}};FCK._CheckIsPastingEnabled=function(A){FCK._PasteIsEnabled=false;document.body.attachEvent('onpaste',FCK_CheckPasting_Listener);var B=FCK.GetClipboardHTML();document.body.detachEvent('onpaste',FCK_CheckPasting_Listener);if (FCK._PasteIsEnabled){if (!A) B=true;}else B=false;delete FCK._PasteIsEnabled;return B;};function FCK_CheckPasting_Listener(){FCK._PasteIsEnabled=true;};FCK.GetClipboardHTML=function(){var A=document.getElementById('___FCKHiddenDiv');if (!A){A=document.createElement('DIV');A.id='___FCKHiddenDiv';var B=A.style;B.position='absolute';B.visibility=B.overflow='hidden';B.width=B.height=1;document.body.appendChild(A);};A.innerHTML='';var C=document.body.createTextRange();C.moveToElementText(A);C.execCommand('Paste');var D=A.innerHTML;A.innerHTML='';return D;};FCK.CreateLink=function(A,B){var C=[];FCK.ExecuteNamedCommand('Unlink',null,false,!!B);if (A.length>0){if (FCKSelection.GetType()=='Control'){var D=this.EditorDocument.createElement('A');D.href=A;var E=FCKSelection.GetSelectedElement();E.parentNode.insertBefore(D,E);E.parentNode.removeChild(E);D.appendChild(E);return [D];};var F='javascript:void(0);/*'+(new Date().getTime())+'*/';FCK.ExecuteNamedCommand('CreateLink',F,false,!!B);var G=this.EditorDocument.links;for (i=0;i<G.length;i++){var D=G[i];if (D.getAttribute('href',2)==F){var I=D.innerHTML;D.href=A;D.innerHTML=I;var J=D.lastChild;if (J&&J.nodeName=='BR'){FCKDomTools.InsertAfterNode(D,D.removeChild(J));};C.push(D);}}};return C;};function _FCK_RemoveDisabledAtt(){this.removeAttribute('disabled');};function Doc_OnMouseDown(A){var e=A.srcElement;if (e.nodeName.IEquals('input')&&e.type.IEquals(['radio','checkbox'])&&!e.disabled){e.disabled=true;FCKTools.SetTimeout(_FCK_RemoveDisabledAtt,1,e);}};

34 var FCKConfig=FCK.Config={};if (document.location.protocol=='file:'){FCKConfig.BasePath=decodeURIComponent(document.location.pathname.substr(1));FCKConfig.BasePath=FCKConfig.BasePath.replace(/\\/gi,'/');var sFullProtocol=document.location.href.match(/^(file\:\/{2,3})/)[1];if (FCKBrowserInfo.IsOpera) sFullProtocol+='localhost/';FCKConfig.BasePath=sFullProtocol+FCKConfig.BasePath.substring(0,FCKConfig.BasePath.lastIndexOf('/')+1);}else FCKConfig.BasePath=document.location.protocol+'//'+document.location.host+document.location.pathname.substring(0,document.location.pathname.lastIndexOf('/')+1);FCKConfig.FullBasePath=FCKConfig.BasePath;FCKConfig.EditorPath=FCKConfig.BasePath.replace(/editor\/$/,'');try{FCKConfig.ScreenWidth=screen.width;FCKConfig.ScreenHeight=screen.height;}catch (e){FCKConfig.ScreenWidth=800;FCKConfig.ScreenHeight=600;};FCKConfig.ProcessHiddenField=function(){this.PageConfig={};var A=window.parent.document.getElementById(FCK.Name+'___Config');if (!A) return;var B=A.value.split('&');for (var i=0;i<B.length;i++){if (B[i].length==0) continue;var C=B[i].split('=');var D=decodeURIComponent(C[0]);var E=decodeURIComponent(C[1]);if (D=='CustomConfigurationsPath') FCKConfig[D]=E;else if (E.toLowerCase()=="true") this.PageConfig[D]=true;else if (E.toLowerCase()=="false") this.PageConfig[D]=false;else if (E.length>0&&!isNaN(E)) this.PageConfig[D]=parseInt(E,10);else this.PageConfig[D]=E;}};function FCKConfig_LoadPageConfig(){var A=FCKConfig.PageConfig;for (var B in A) FCKConfig[B]=A[B];};function FCKConfig_PreProcess(){var A=FCKConfig;if (A.AllowQueryStringDebug){try{if ((/fckdebug=true/i).test(window.top.location.search)) A.Debug=true;}catch (e) { }};if (!A.PluginsPath.EndsWith('/')) A.PluginsPath+='/';var B=A.ToolbarComboPreviewCSS;if (!B||B.length==0) A.ToolbarComboPreviewCSS=A.EditorAreaCSS;A.RemoveAttributesArray=(A.RemoveAttributes||'').split(',');if (!FCKConfig.SkinEditorCSS||FCKConfig.SkinEditorCSS.length==0) FCKConfig.SkinEditorCSS=FCKConfig.SkinPath+'fck_editor.css';if (!FCKConfig.SkinDialogCSS||FCKConfig.SkinDialogCSS.length==0) FCKConfig.SkinDialogCSS=FCKConfig.SkinPath+'fck_dialog.css';};FCKConfig.ToolbarSets={};FCKConfig.Plugins={};FCKConfig.Plugins.Items=[];FCKConfig.Plugins.Add=function(A,B,C){FCKConfig.Plugins.Items.AddItem([A,B,C]);};FCKConfig.ProtectedSource={};FCKConfig.ProtectedSource._CodeTag=(new Date()).valueOf();FCKConfig.ProtectedSource.RegexEntries=[/<!--[\s\S]*?-->/g,/<script[\s\S]*?<\/script>/gi,/<noscript[\s\S]*?<\/noscript>/gi];FCKConfig.ProtectedSource.Add=function(A){this.RegexEntries.AddItem(A);};FCKConfig.ProtectedSource.Protect=function(A){var B=this._CodeTag;function _Replace(protectedSource){var C=FCKTempBin.AddElement(protectedSource);return '<!--{'+B+C+'}-->';};for (var i=0;i<this.RegexEntries.length;i++){A=A.replace(this.RegexEntries[i],_Replace);};return A;};FCKConfig.ProtectedSource.Revert=function(A,B){function _Replace(m,opener,index){var C=B?FCKTempBin.RemoveElement(index):FCKTempBin.Elements[index];return FCKConfig.ProtectedSource.Revert(C,B);};var D=new RegExp("(<|&lt;)!--\\{"+this._CodeTag+"(\\d+)\\}--(>|&gt;)","g");return A.replace(D,_Replace);};FCKConfig.GetBodyAttributes=function(){var A='';if (this.BodyId&&this.BodyId.length>0) A+=' id="'+this.BodyId+'"';if (this.BodyClass&&this.BodyClass.length>0) A+=' class="'+this.BodyClass+'"';return A;};FCKConfig.ApplyBodyAttributes=function(A){if (this.BodyId&&this.BodyId.length>0) A.id=FCKConfig.BodyId;if (this.BodyClass&&this.BodyClass.length>0) A.className+=' '+FCKConfig.BodyClass;};

35 var FCKDebug={Output:function(){},OutputObject:function(){}};

36 var FCKDomTools={MoveChildren:function(A,B,C){if (A==B) return;var D;if (C){while ((D=A.lastChild)) B.insertBefore(A.removeChild(D),B.firstChild);}else{while ((D=A.firstChild)) B.appendChild(A.removeChild(D));}},MoveNode:function(A,B,C){if (C) B.insertBefore(FCKDomTools.RemoveNode(A),B.firstChild);else B.appendChild(FCKDomTools.RemoveNode(A));},TrimNode:function(A){this.LTrimNode(A);this.RTrimNode(A);},LTrimNode:function(A){var B;while ((B=A.firstChild)){if (B.nodeType==3){var C=B.nodeValue.LTrim();var D=B.nodeValue.length;if (C.length==0){A.removeChild(B);continue;}else if (C.length<D){B.splitText(D-C.length);A.removeChild(A.firstChild);}};break;}},RTrimNode:function(A){var B;while ((B=A.lastChild)){if (B.nodeType==3){var C=B.nodeValue.RTrim();var D=B.nodeValue.length;if (C.length==0){B.parentNode.removeChild(B);continue;}else if (C.length<D){B.splitText(C.length);A.lastChild.parentNode.removeChild(A.lastChild);}};break;};if (!FCKBrowserInfo.IsIE&&!FCKBrowserInfo.IsOpera){B=A.lastChild;if (B&&B.nodeType==1&&B.nodeName.toLowerCase()=='br'){B.parentNode.removeChild(B);}}},RemoveNode:function(A,B){if (B){var C;while ((C=A.firstChild)) A.parentNode.insertBefore(A.removeChild(C),A);};return A.parentNode.removeChild(A);},GetFirstChild:function(A,B){if (typeof (B)=='string') B=[B];var C=A.firstChild;while(C){if (C.nodeType==1&&C.tagName.Equals.apply(C.tagName,B)) return C;C=C.nextSibling;};return null;},GetLastChild:function(A,B){if (typeof (B)=='string') B=[B];var C=A.lastChild;while(C){if (C.nodeType==1&&(!B||C.tagName.Equals(B))) return C;C=C.previousSibling;};return null;},GetPreviousSourceElement:function(A,B,C,D){if (!A) return null;if (C&&A.nodeType==1&&A.nodeName.IEquals(C)) return null;if (A.previousSibling) A=A.previousSibling;else return this.GetPreviousSourceElement(A.parentNode,B,C,D);while (A){if (A.nodeType==1){if (C&&A.nodeName.IEquals(C)) break;if (!D||!A.nodeName.IEquals(D)) return A;}else if (B&&A.nodeType==3&&A.nodeValue.RTrim().length>0) break;if (A.lastChild) A=A.lastChild;else return this.GetPreviousSourceElement(A,B,C,D);};return null;},GetNextSourceElement:function(A,B,C,D,E){while((A=this.GetNextSourceNode(A,E))){if (A.nodeType==1){if (C&&A.nodeName.IEquals(C)) break;if (D&&A.nodeName.IEquals(D)) return this.GetNextSourceElement(A,B,C,D);return A;}else if (B&&A.nodeType==3&&A.nodeValue.RTrim().length>0) break;};return null;},GetNextSourceNode:function(A,B,C,D){if (!A) return null;var E;if (!B&&A.firstChild) E=A.firstChild;else{if (D&&A==D) return null;E=A.nextSibling;if (!E&&(!D||D!=A.parentNode)) return this.GetNextSourceNode(A.parentNode,true,C,D);};if (C&&E&&E.nodeType!=C) return this.GetNextSourceNode(E,false,C,D);return E;},GetPreviousSourceNode:function(A,B,C,D){if (!A) return null;var E;if (!B&&A.lastChild) E=A.lastChild;else{if (D&&A==D) return null;E=A.previousSibling;if (!E&&(!D||D!=A.parentNode)) return this.GetPreviousSourceNode(A.parentNode,true,C,D);};if (C&&E&&E.nodeType!=C) return this.GetPreviousSourceNode(E,false,C,D);return E;},InsertAfterNode:function(A,B){return A.parentNode.insertBefore(B,A.nextSibling);},GetParents:function(A){var B=[];while (A){B.unshift(A);A=A.parentNode;};return B;},GetCommonParents:function(A,B){var C=this.GetParents(A);var D=this.GetParents(B);var E=[];for (var i=0;i<C.length;i++){if (C[i]==D[i]) E.push(C[i]);};return E;},GetCommonParentNode:function(A,B,C){var D={};if (!C.pop) C=[C];while (C.length>0) D[C.pop().toLowerCase()]=1;var E=this.GetCommonParents(A,B);var F=null;while ((F=E.pop())){if (D[F.nodeName.toLowerCase()]) return F;};return null;},GetIndexOf:function(A){var B=A.parentNode?A.parentNode.firstChild:null;var C=-1;while (B){C++;if (B==A) return C;B=B.nextSibling;};return-1;},PaddingNode:null,EnforcePaddingNode:function(A,B){try{if (!A||!A.body) return;}catch (e){return;};this.CheckAndRemovePaddingNode(A,B,true);try{if (A.body.lastChild&&(A.body.lastChild.nodeType!=1||A.body.lastChild.tagName.toLowerCase()==B.toLowerCase())) return;}catch (e){return;};var C=A.createElement(B);if (FCKBrowserInfo.IsGecko&&FCKListsLib.NonEmptyBlockElements[B]) FCKTools.AppendBogusBr(C);this.PaddingNode=C;if (A.body.childNodes.length==1&&A.body.firstChild.nodeType==1&&A.body.firstChild.tagName.toLowerCase()=='br'&&(A.body.firstChild.getAttribute('_moz_dirty')!=null||A.body.firstChild.getAttribute('type')=='_moz')) A.body.replaceChild(C,A.body.firstChild);else A.body.appendChild(C);},CheckAndRemovePaddingNode:function(A,B,C){var D=this.PaddingNode;if (!D) return;try{if (D.parentNode!=A.body||D.tagName.toLowerCase()!=B||(D.childNodes.length>1)||(D.firstChild&&D.firstChild.nodeValue!='\xa0'&&String(D.firstChild.tagName).toLowerCase()!='br')){this.PaddingNode=null;return;}}catch (e){this.PaddingNode=null;return;};if (!C){if (D.parentNode.childNodes.length>1) D.parentNode.removeChild(D);this.PaddingNode=null;}},HasAttribute:function(A,B){if (A.hasAttribute) return A.hasAttribute(B);else{var C=A.attributes[B];return (C!=undefined&&C.specified);}},HasAttributes:function(A){var B=A.attributes;for (var i=0;i<B.length;i++){if (FCKBrowserInfo.IsIE&&B[i].nodeName=='class'){if (A.className.length>0) return true;}else if (B[i].specified) return true;};return false;},RemoveAttribute:function(A,B){if (FCKBrowserInfo.IsIE&&B.toLowerCase()=='class') B='className';return A.removeAttribute(B,0);},RemoveAttributes:function (A,B){for (var i=0;i<B.length;i++) this.RemoveAttribute(A,B[i]);},GetAttributeValue:function(A,B){var C=B;if (typeof B=='string') B=A.attributes[B];else C=B.nodeName;if (B&&B.specified){if (C=='style') return A.style.cssText;else if (C=='class'||C.indexOf('on')==0) return B.nodeValue;else{return A.getAttribute(C,2);}};return null;},Contains:function(A,B){if (A.contains&&B.nodeType==1) return A.contains(B);while ((B=B.parentNode)){if (B==A) return true;};return false;},BreakParent:function(A,B,C){var D=C||new FCKDomRange(FCKTools.GetElementWindow(A));D.SetStart(A,4);D.SetEnd(B,4);var E=D.ExtractContents();D.InsertNode(A.parentNode.removeChild(A));E.InsertAfterNode(A);D.Release(!!C);},GetNodeAddress:function(A,B){var C=[];while (A&&A!=FCKTools.GetElementDocument(A).documentElement){var D=A.parentNode;var E=-1;for(var i=0;i<D.childNodes.length;i++){var F=D.childNodes[i];if (B===true&&F.nodeType==3&&F.previousSibling&&F.previousSibling.nodeType==3) continue;E++;if (D.childNodes[i]==A) break;};C.unshift(E);A=A.parentNode;};return C;},GetNodeFromAddress:function(A,B,C){var D=A.documentElement;for (var i=0;i<B.length;i++){var E=B[i];if (!C){D=D.childNodes[E];continue;};var F=-1;for (var j=0;j<D.childNodes.length;j++){var G=D.childNodes[j];if (C===true&&G.nodeType==3&&G.previousSibling&&G.previousSibling.nodeType==3) continue;F++;if (F==E){D=G;break;}}};return D;},CloneElement:function(A){A=A.cloneNode(false);A.removeAttribute('id',false);return A;},ClearElementJSProperty:function(A,B){if (FCKBrowserInfo.IsIE) A.removeAttribute(B);else delete A[B];},SetElementMarker:function (A,B,C,D){var E=String(parseInt(Math.random()*0xffffffff,10));B._FCKMarkerId=E;B[C]=D;if (!A[E]) A[E]={ 'element':B,'markers':{} };A[E]['markers'][C]=D;},ClearElementMarkers:function(A,B,C){var D=B._FCKMarkerId;if (!D) return;this.ClearElementJSProperty(B,'_FCKMarkerId');for (var j in A[D]['markers']) this.ClearElementJSProperty(B,j);if (C) delete A[D];},ClearAllMarkers:function(A){for (var i in A) this.ClearElementMarkers(A,A[i]['element'],true);},ListToArray:function(A,B,C,D,E){if (!A.nodeName.IEquals(['ul','ol'])) return [];if (!D) D=0;if (!C) C=[];for (var i=0;i<A.childNodes.length;i++){var F=A.childNodes[i];if (!F.nodeName.IEquals('li')) continue;var G={ 'parent':A,'indent':D,'contents':[] };if (!E){G.grandparent=A.parentNode;if (G.grandparent&&G.grandparent.nodeName.IEquals('li')) G.grandparent=G.grandparent.parentNode;}else G.grandparent=E;if (B) this.SetElementMarker(B,F,'_FCK_ListArray_Index',C.length);C.push(G);for (var j=0;j<F.childNodes.length;j++){var H=F.childNodes[j];if (H.nodeName.IEquals(['ul','ol'])) this.ListToArray(H,B,C,D+1,G.grandparent);else G.contents.push(H);}};return C;},ArrayToList:function(A,B,C){if (C==undefined) C=0;if (!A||A.length<C+1) return null;var D=FCKTools.GetElementDocument(A[C].parent);var E=D.createDocumentFragment();var F=null;var G=C;var H=Math.max(A[C].indent,0);var I=null;while (true){var J=A[G];if (J.indent==H){if (!F||A[G].parent.nodeName!=F.nodeName){F=A[G].parent.cloneNode(false);E.appendChild(F);};I=D.createElement('li');F.appendChild(I);for (var i=0;i<J.contents.length;i++) I.appendChild(J.contents[i].cloneNode(true));G++;}else if (J.indent==Math.max(H,0)+1){var K=this.ArrayToList(A,null,G);I.appendChild(K.listNode);G=K.nextIndex;}else if (J.indent==-1&&C==0&&J.grandparent){var I;if (J.grandparent.nodeName.IEquals(['ul','ol'])) I=D.createElement('li');else{if (FCKConfig.EnterMode.IEquals(['div','p'])&&!J.grandparent.nodeName.IEquals('td')) I=D.createElement(FCKConfig.EnterMode);else I=D.createDocumentFragment();};for (var i=0;i<J.contents.length;i++) I.appendChild(J.contents[i].cloneNode(true));if (I.nodeType==11){if (I.lastChild&&I.lastChild.getAttribute&&I.lastChild.getAttribute('type')=='_moz') I.removeChild(I.lastChild);I.appendChild(D.createElement('br'));};if (I.nodeName.IEquals(FCKConfig.EnterMode)&&I.firstChild){this.TrimNode(I);if (FCKListsLib.BlockBoundaries[I.firstChild.nodeName.toLowerCase()]){var M=D.createDocumentFragment();while (I.firstChild) M.appendChild(I.removeChild(I.firstChild));I=M;}};if (FCKBrowserInfo.IsGeckoLike&&I.nodeName.IEquals(['div','p'])) FCKTools.AppendBogusBr(I);E.appendChild(I);F=null;G++;}else return null;if (A.length<=G||Math.max(A[G].indent,0)<H){break;}};if (B){var N=E.firstChild;while (N){if (N.nodeType==1) this.ClearElementMarkers(B,N);N=this.GetNextSourceNode(N);}};return { 'listNode':E,'nextIndex':G };},GetNextSibling:function(A,B){A=A.nextSibling;while (A&&!B&&A.nodeType!=1&&(A.nodeType!=3||A.nodeValue.length==0)) A=A.nextSibling;return A;},GetPreviousSibling:function(A,B){A=A.previousSibling;while (A&&!B&&A.nodeType!=1&&(A.nodeType!=3||A.nodeValue.length==0)) A=A.previousSibling;return A;},CheckIsEmptyElement:function(A,B){var C=A.firstChild;var D;while (C){if (C.nodeType==1){if (D||!FCKListsLib.InlineNonEmptyElements[C.nodeName.toLowerCase()]) return false;if (!B||B(C)===true) D=C;}else if (C.nodeType==3&&C.nodeValue.length>0) return false;C=C.nextSibling;};return D?this.CheckIsEmptyElement(D,B):true;},SetElementStyles:function(A,B){var C=A.style;for (var D in B) C[D]=B[D];},SetOpacity:function(A,B){if (FCKBrowserInfo.IsIE){B=Math.round(B*100);A.style.filter=(B>100?'':'progid:DXImageTransform.Microsoft.Alpha(opacity='+B+')');}else A.style.opacity=B;},GetCurrentElementStyle:function(A,B){if (FCKBrowserInfo.IsIE) return A.currentStyle[B];else return A.ownerDocument.defaultView.getComputedStyle(A,'').getPropertyValue(B);},GetPositionedAncestor:function(A){var B=A;while (B!=FCKTools.GetElementDocument(B).documentElement){if (this.GetCurrentElementStyle(B,'position')!='static') return B;if (B==FCKTools.GetElementDocument(B).documentElement&&currentWindow!=w) B=currentWindow.frameElement;else B=B.parentNode;};return null;},ScrollIntoView:function(A,B){var C=FCKTools.GetElementWindow(A);var D=FCKTools.GetViewPaneSize(C).Height;var E=D*-1;if (B===false){E+=A.offsetHeight||0;E+=parseInt(this.GetCurrentElementStyle(A,'marginBottom')||0,10)||0;};var F=FCKTools.GetDocumentPosition(C,A);E+=F.y;var G=FCKTools.GetScrollPosition(C).Y;if (E>0&&(E>G||E<G-D)) C.scrollTo(0,E);},CheckIsEditable:function(A){var B=A.nodeName.toLowerCase();var C=FCK.DTD[B]||FCK.DTD.span;return (C['#']&&!FCKListsLib.NonEditableElements[B]);},GetSelectedDivContainers:function(){var A=[];var B=new FCKDomRange(FCK.EditorWindow);B.MoveToSelection();var C=B.GetTouchedStartNode();var D=B.GetTouchedEndNode();var E=C;if (C==D){while (D.nodeType==1&&D.lastChild) D=D.lastChild;D=FCKDomTools.GetNextSourceNode(D);}while (E&&E!=D){if (E.nodeType!=3||!/^[ \t\n]*$/.test(E.nodeValue)){var F=new FCKElementPath(E);var G=F.BlockLimit;if (G&&G.nodeName.IEquals('div')&&A.IndexOf(G)==-1) A.push(G);};E=FCKDomTools.GetNextSourceNode(E);};return A;}};

84 var FCKRemoveFormatCommand=function(){this.Name='RemoveFormat';};FCKRemoveFormatCommand.prototype={Execute:function(){FCKStyles.RemoveAll();FCK.Focus();FCK.Events.FireEvent('OnSelectionChange');},GetState:function(){return FCK.EditorWindow?0:-1;}};

85 var FCKCommands=FCK.Commands={};FCKCommands.LoadedCommands={};FCKCommands.RegisterCommand=function(A,B){this.LoadedCommands[A]=B;};FCKCommands.GetCommand=function(A){var B=FCKCommands.LoadedCommands[A];if (B) return B;switch (A){case 'Bold':case 'Italic':case 'Underline':case 'StrikeThrough':case 'Subscript':case 'Superscript':B=new FCKCoreStyleCommand(A);break;case 'RemoveFormat':B=new FCKRemoveFormatCommand();break;case 'DocProps':B=new FCKDialogCommand('DocProps',FCKLang.DocProps,'dialog/fck_docprops.html',400,380,FCKCommands.GetFullPageState);break;case 'Templates':B=new FCKDialogCommand('Templates',FCKLang.DlgTemplatesTitle,'dialog/fck_template.html',380,450);break;case 'Link':B=new FCKDialogCommand('Link',FCKLang.DlgLnkWindowTitle,'dialog/fck_link.html',400,300);break;case 'Unlink':B=new FCKUnlinkCommand();break;case 'VisitLink':B=new FCKVisitLinkCommand();break;case 'Anchor':B=new FCKDialogCommand('Anchor',FCKLang.DlgAnchorTitle,'dialog/fck_anchor.html',370,160);break;case 'AnchorDelete':B=new FCKAnchorDeleteCommand();break;case 'BulletedList':B=new FCKDialogCommand('BulletedList',FCKLang.BulletedListProp,'dialog/fck_listprop.html?UL',370,160);break;case 'NumberedList':B=new FCKDialogCommand('NumberedList',FCKLang.NumberedListProp,'dialog/fck_listprop.html?OL',370,160);break;case 'About':B=new FCKDialogCommand('About',FCKLang.About,'dialog/fck_about.html',420,330,function(){ return 0;});break;case 'Find':B=new FCKDialogCommand('Find',FCKLang.DlgFindAndReplaceTitle,'dialog/fck_replace.html',340,230,null,null,'Find');break;case 'Replace':B=new FCKDialogCommand('Replace',FCKLang.DlgFindAndReplaceTitle,'dialog/fck_replace.html',340,230,null,null,'Replace');break;case 'Image':B=new FCKDialogCommand('Image',FCKLang.DlgImgTitle,'dialog/fck_image.html',450,390);break;case 'Flash':B=new FCKDialogCommand('Flash',FCKLang.DlgFlashTitle,'dialog/fck_flash.html',450,390);break;case 'SpecialChar':B=new FCKDialogCommand('SpecialChar',FCKLang.DlgSpecialCharTitle,'dialog/fck_specialchar.html',400,290);break;case 'Smiley':B=new FCKDialogCommand('Smiley',FCKLang.DlgSmileyTitle,'dialog/fck_smiley.html',FCKConfig.SmileyWindowWidth,FCKConfig.SmileyWindowHeight);break;case 'Table':B=new FCKDialogCommand('Table',FCKLang.DlgTableTitle,'dialog/fck_table.html',480,250);break;case 'TableProp':B=new FCKDialogCommand('Table',FCKLang.DlgTableTitle,'dialog/fck_table.html?Parent',480,250);break;case 'TableCellProp':B=new FCKDialogCommand('TableCell',FCKLang.DlgCellTitle,'dialog/fck_tablecell.html',550,240);break;case 'Style':B=new FCKStyleCommand();break;case 'FontName':B=new FCKFontNameCommand();break;case 'FontSize':B=new FCKFontSizeCommand();break;case 'FontFormat':B=new FCKFormatBlockCommand();break;case 'Source':B=new FCKSourceCommand();break;case 'Preview':B=new FCKPreviewCommand();break;case 'Save':B=new FCKSaveCommand();break;case 'NewPage':B=new FCKNewPageCommand();break;case 'PageBreak':B=new FCKPageBreakCommand();break;case 'Rule':B=new FCKRuleCommand();break;case 'Nbsp':B=new FCKNbsp();break;case 'TextColor':B=new FCKTextColorCommand('ForeColor');break;case 'BGColor':B=new FCKTextColorCommand('BackColor');break;case 'Paste':B=new FCKPasteCommand();break;case 'PasteText':B=new FCKPastePlainTextCommand();break;case 'PasteWord':B=new FCKPasteWordCommand();break;case 'JustifyLeft':B=new FCKJustifyCommand('left');break;case 'JustifyCenter':B=new FCKJustifyCommand('center');break;case 'JustifyRight':B=new FCKJustifyCommand('right');break;case 'JustifyFull':B=new FCKJustifyCommand('justify');break;case 'Indent':B=new FCKIndentCommand('indent',FCKConfig.IndentLength);break;case 'Outdent':B=new FCKIndentCommand('outdent',FCKConfig.IndentLength*-1);break;case 'Blockquote':B=new FCKBlockQuoteCommand();break;case 'CreateDiv':B=new FCKDialogCommand('CreateDiv',FCKLang.CreateDiv,'dialog/fck_div.html',380,210,null,null,true);break;case 'EditDiv':B=new FCKDialogCommand('EditDiv',FCKLang.EditDiv,'dialog/fck_div.html',380,210,null,null,false);break;case 'DeleteDiv':B=new FCKDeleteDivCommand();break;case 'TableInsertRowAfter':B=new FCKTableCommand('TableInsertRowAfter');break;case 'TableInsertRowBefore':B=new FCKTableCommand('TableInsertRowBefore');break;case 'TableDeleteRows':B=new FCKTableCommand('TableDeleteRows');break;case 'TableInsertColumnAfter':B=new FCKTableCommand('TableInsertColumnAfter');break;case 'TableInsertColumnBefore':B=new FCKTableCommand('TableInsertColumnBefore');break;case 'TableDeleteColumns':B=new FCKTableCommand('TableDeleteColumns');break;case 'TableInsertCellAfter':B=new FCKTableCommand('TableInsertCellAfter');break;case 'TableInsertCellBefore':B=new FCKTableCommand('TableInsertCellBefore');break;case 'TableDeleteCells':B=new FCKTableCommand('TableDeleteCells');break;case 'TableMergeCells':B=new FCKTableCommand('TableMergeCells');break;case 'TableMergeRight':B=new FCKTableCommand('TableMergeRight');break;case 'TableMergeDown':B=new FCKTableCommand('TableMergeDown');break;case 'TableHorizontalSplitCell':B=new FCKTableCommand('TableHorizontalSplitCell');break;case 'TableVerticalSplitCell':B=new FCKTableCommand('TableVerticalSplitCell');break;case 'TableDelete':B=new FCKTableCommand('TableDelete');break;case 'Form':B=new FCKDialogCommand('Form',FCKLang.Form,'dialog/fck_form.html',380,210);break;case 'Checkbox':B=new FCKDialogCommand('Checkbox',FCKLang.Checkbox,'dialog/fck_checkbox.html',380,200);break;case 'Radio':B=new FCKDialogCommand('Radio',FCKLang.RadioButton,'dialog/fck_radiobutton.html',380,200);break;case 'TextField':B=new FCKDialogCommand('TextField',FCKLang.TextField,'dialog/fck_textfield.html',380,210);break;case 'Textarea':B=new FCKDialogCommand('Textarea',FCKLang.Textarea,'dialog/fck_textarea.html',380,210);break;case 'HiddenField':B=new FCKDialogCommand('HiddenField',FCKLang.HiddenField,'dialog/fck_hiddenfield.html',380,190);break;case 'Button':B=new FCKDialogCommand('Button',FCKLang.Button,'dialog/fck_button.html',380,210);break;case 'Select':B=new FCKDialogCommand('Select',FCKLang.SelectionField,'dialog/fck_select.html',400,340);break;case 'ImageButton':B=new FCKDialogCommand('ImageButton',FCKLang.ImageButton,'dialog/fck_image.html?ImageButton',450,390);break;case 'SpellCheck':B=new FCKSpellCheckCommand();break;case 'FitWindow':B=new FCKFitWindow();break;case 'Undo':B=new FCKUndoCommand();break;case 'Redo':B=new FCKRedoCommand();break;case 'Copy':B=new FCKCutCopyCommand(false);break;case 'Cut':B=new FCKCutCopyCommand(true);break;case 'SelectAll':B=new FCKSelectAllCommand();break;case 'InsertOrderedList':B=new FCKListCommand('insertorderedlist','ol');break;case 'InsertUnorderedList':B=new FCKListCommand('insertunorderedlist','ul');break;case 'ShowBlocks':B=new FCKShowBlockCommand('ShowBlocks',FCKConfig.StartupShowBlocks?1:0);break;case 'Undefined':B=new FCKUndefinedCommand();break;case 'InsertCode':B= new FCKDialogCommand('InsertCode',FCKLang.InsertCode,'dialog/InsertCode/InsertCode.aspx',700,600);break;default:if (FCKRegexLib.NamedCommands.test(A)) B=new FCKNamedCommand(A);else{alert(FCKLang.UnknownCommand.replace(/%1/g,A));return null;}};FCKCommands.LoadedCommands[A]=B;return B;};FCKCommands.GetFullPageState=function(){return FCKConfig.FullPage?0:-1;};FCKCommands.GetBooleanState=function(A){return A?-1:0;};

86 var FCKPanel=function(A){this.IsRTL=(FCKLang.Dir=='rtl');this.IsContextMenu=false;this._LockCounter=0;this._Window=A||window;var B;if (FCKBrowserInfo.IsIE){this._Popup=this._Window.createPopup();var C=this._Window.document;if (FCK_IS_CUSTOM_DOMAIN&&!FCKBrowserInfo.IsIE7){C.domain=FCK_ORIGINAL_DOMAIN;document.domain=FCK_ORIGINAL_DOMAIN;};B=this.Document=this._Popup.document;if (FCK_IS_CUSTOM_DOMAIN){B.domain=FCK_RUNTIME_DOMAIN;C.domain=FCK_RUNTIME_DOMAIN;document.domain=FCK_RUNTIME_DOMAIN;};FCK.IECleanup.AddItem(this,FCKPanel_Cleanup);}else{var D=this._IFrame=this._Window.document.createElement('iframe');FCKTools.ResetStyles(D);D.src='javascript:void(0)';D.allowTransparency=true;D.frameBorder='0';D.scrolling='no';D.style.width=D.style.height='0px';FCKDomTools.SetElementStyles(D,{position:'absolute',zIndex:FCKConfig.FloatingPanelsZIndex});this._Window.document.body.appendChild(D);var E=D.contentWindow;B=this.Document=E.document;var F='';if (FCKBrowserInfo.IsSafari) F='<base href="'+window.document.location+'">';B.open();B.write('<html><head>'+F+'<\/head><body style="margin:0px;padding:0px;"><\/body><\/html>');B.close();if(FCKBrowserInfo.IsAIR) FCKAdobeAIR.Panel_Contructor(B,window.document.location);FCKTools.AddEventListenerEx(E,'focus',FCKPanel_Window_OnFocus,this);FCKTools.AddEventListenerEx(E,'blur',FCKPanel_Window_OnBlur,this);};B.dir=FCKLang.Dir;FCKTools.AddEventListener(B,'contextmenu',FCKTools.CancelEvent);this.MainNode=B.body.appendChild(B.createElement('DIV'));this.MainNode.style.cssFloat=this.IsRTL?'right':'left';};FCKPanel.prototype.AppendStyleSheet=function(A){FCKTools.AppendStyleSheet(this.Document,A);};FCKPanel.prototype.Preload=function(x,y,A){if (this._Popup) this._Popup.show(x,y,0,0,A);};FCKPanel.prototype.Show=function(x,y,A,B,C){var D;var E=this.MainNode;if (this._Popup){this._Popup.show(x,y,0,0,A);FCKDomTools.SetElementStyles(E,{B:B?B+'px':'',C:C?C+'px':''});D=E.offsetWidth;if (this.IsRTL){if (this.IsContextMenu) x=x-D+1;else if (A) x=(x*-1)+A.offsetWidth-D;};this._Popup.show(x,y,D,E.offsetHeight,A);if (this.OnHide){if (this._Timer) CheckPopupOnHide.call(this,true);this._Timer=FCKTools.SetInterval(CheckPopupOnHide,100,this);}}else{if (typeof(FCK.ToolbarSet.CurrentInstance.FocusManager)!='undefined') FCK.ToolbarSet.CurrentInstance.FocusManager.Lock();if (this.ParentPanel){this.ParentPanel.Lock();FCKPanel_Window_OnBlur(null,this.ParentPanel);};if (FCKBrowserInfo.IsGecko&&FCKBrowserInfo.IsMac){this._IFrame.scrolling='';FCKTools.RunFunction(function(){ this._IFrame.scrolling='no';},this);};if (FCK.ToolbarSet.CurrentInstance.GetInstanceObject('FCKPanel')._OpenedPanel&&FCK.ToolbarSet.CurrentInstance.GetInstanceObject('FCKPanel')._OpenedPanel!=this) FCK.ToolbarSet.CurrentInstance.GetInstanceObject('FCKPanel')._OpenedPanel.Hide(false,true);FCKDomTools.SetElementStyles(E,{B:B?B+'px':'',C:C?C+'px':''});D=E.offsetWidth;if (!B) this._IFrame.width=1;if (!C) this._IFrame.height=1;D=E.offsetWidth||E.firstChild.offsetWidth;var F=FCKTools.GetDocumentPosition(this._Window,A.nodeType==9?(FCKTools.IsStrictMode(A)?A.documentElement:A.body):A);var G=FCKDomTools.GetPositionedAncestor(this._IFrame.parentNode);if (G){var H=FCKTools.GetDocumentPosition(FCKTools.GetElementWindow(G),G);F.x-=H.x;F.y-=H.y;};if (this.IsRTL&&!this.IsContextMenu) x=(x*-1);x+=F.x;y+=F.y;if (this.IsRTL){if (this.IsContextMenu) x=x-D+1;else if (A) x=x+A.offsetWidth-D;}else{var I=FCKTools.GetViewPaneSize(this._Window);var J=FCKTools.GetScrollPosition(this._Window);var K=I.Height+J.Y;var L=I.Width+J.X;if ((x+D)>L) x-=x+D-L;if ((y+E.offsetHeight)>K) y-=y+E.offsetHeight-K;};FCKDomTools.SetElementStyles(this._IFrame,{left:x+'px',top:y+'px'});this._IFrame.contentWindow.focus();this._IsOpened=true;var M=this;this._resizeTimer=setTimeout(function(){var N=E.offsetWidth||E.firstChild.offsetWidth;var O=E.offsetHeight;M._IFrame.style.width=N+'px';M._IFrame.style.height=O+'px';},0);FCK.ToolbarSet.CurrentInstance.GetInstanceObject('FCKPanel')._OpenedPanel=this;};FCKTools.RunFunction(this.OnShow,this);};FCKPanel.prototype.Hide=function(A,B){if (this._Popup) this._Popup.hide();else{if (!this._IsOpened||this._LockCounter>0) return;if (typeof(FCKFocusManager)!='undefined'&&!B) FCKFocusManager.Unlock();this._IFrame.style.width=this._IFrame.style.height='0px';this._IsOpened=false;if (this._resizeTimer){clearTimeout(this._resizeTimer);this._resizeTimer=null;};if (this.ParentPanel) this.ParentPanel.Unlock();if (!A) FCKTools.RunFunction(this.OnHide,this);}};FCKPanel.prototype.CheckIsOpened=function(){if (this._Popup) return this._Popup.isOpen;else return this._IsOpened;};FCKPanel.prototype.CreateChildPanel=function(){var A=this._Popup?FCKTools.GetDocumentWindow(this.Document):this._Window;var B=new FCKPanel(A);B.ParentPanel=this;return B;};FCKPanel.prototype.Lock=function(){this._LockCounter++;};FCKPanel.prototype.Unlock=function(){if (--this._LockCounter==0&&!this.HasFocus) this.Hide();};function FCKPanel_Window_OnFocus(e,A){A.HasFocus=true;};function FCKPanel_Window_OnBlur(e,A){A.HasFocus=false;if (A._LockCounter==0) FCKTools.RunFunction(A.Hide,A);};function CheckPopupOnHide(A){if (A||!this._Popup.isOpen){window.clearInterval(this._Timer);this._Timer=null;FCKTools.RunFunction(this.OnHide,this);}};function FCKPanel_Cleanup(){this._Popup=null;this._Window=null;this.Document=null;this.MainNode=null;};

87 var FCKIcon=function(A){var B=A?typeof(A):'undefined';switch (B){case 'number':this.Path=FCKConfig.SkinPath+'fck_strip.gif';this.Size=16;this.Position=A;break;case 'undefined':this.Path=FCK_SPACER_PATH;break;case 'string':this.Path=A;break;default:this.Path=A[0];this.Size=A[1];this.Position=A[2];}};FCKIcon.prototype.CreateIconElement=function(A){var B,eIconImage;if (this.Position){var C='-'+((this.Position-1)*this.Size)+'px';if (FCKBrowserInfo.IsIE){B=A.createElement('DIV');eIconImage=B.appendChild(A.createElement('IMG'));eIconImage.src=this.Path;eIconImage.style.top=C;}else{B=A.createElement('IMG');B.src=FCK_SPACER_PATH;B.style.backgroundPosition='0px '+C;B.style.backgroundImage='url("'+this.Path+'")';}}else{if (FCKBrowserInfo.IsIE){B=A.createElement('DIV');eIconImage=B.appendChild(A.createElement('IMG'));eIconImage.src=this.Path?this.Path:FCK_SPACER_PATH;}else{B=A.createElement('IMG');B.src=this.Path?this.Path:FCK_SPACER_PATH;}};B.className='TB_Button_Image';return B;};

88 var FCKToolbarButtonUI=function(A,B,C,D,E,F){this.Name=A;this.Label=B||A;this.Tooltip=C||this.Label;this.Style=E||0;this.State=F||0;this.Icon=new FCKIcon(D);if (FCK.IECleanup) FCK.IECleanup.AddItem(this,FCKToolbarButtonUI_Cleanup);};FCKToolbarButtonUI.prototype._CreatePaddingElement=function(A){var B=A.createElement('IMG');B.className='TB_Button_Padding';B.src=FCK_SPACER_PATH;return B;};FCKToolbarButtonUI.prototype.Create=function(A){var B=FCKTools.GetElementDocument(A);var C=this.MainElement=B.createElement('DIV');C.title=this.Tooltip;if (FCKBrowserInfo.IsGecko) C.onmousedown=FCKTools.CancelEvent;FCKTools.AddEventListenerEx(C,'mouseover',FCKToolbarButtonUI_OnMouseOver,this);FCKTools.AddEventListenerEx(C,'mouseout',FCKToolbarButtonUI_OnMouseOut,this);FCKTools.AddEventListenerEx(C,'click',FCKToolbarButtonUI_OnClick,this);this.ChangeState(this.State,true);if (this.Style==0&&!this.ShowArrow){C.appendChild(this.Icon.CreateIconElement(B));}else{var D=C.appendChild(B.createElement('TABLE'));D.cellPadding=0;D.cellSpacing=0;var E=D.insertRow(-1);var F=E.insertCell(-1);if (this.Style==0||this.Style==2) F.appendChild(this.Icon.CreateIconElement(B));else F.appendChild(this._CreatePaddingElement(B));if (this.Style==1||this.Style==2){F=E.insertCell(-1);F.className='TB_Button_Text';F.noWrap=true;F.appendChild(B.createTextNode(this.Label));};if (this.ShowArrow){if (this.Style!=0){E.insertCell(-1).appendChild(this._CreatePaddingElement(B));};F=E.insertCell(-1);var G=F.appendChild(B.createElement('IMG'));G.src=FCKConfig.SkinPath+'images/toolbar.buttonarrow.gif';G.width=5;G.height=3;};F=E.insertCell(-1);F.appendChild(this._CreatePaddingElement(B));};A.appendChild(C);};FCKToolbarButtonUI.prototype.ChangeState=function(A,B){if (!B&&this.State==A) return;var e=this.MainElement;if (!e) return;switch (parseInt(A,10)){case 0:e.className='TB_Button_Off';break;case 1:e.className='TB_Button_On';break;case -1:e.className='TB_Button_Disabled';break;};this.State=A;};function FCKToolbarButtonUI_OnMouseOver(A,B){if (B.State==0) this.className='TB_Button_Off_Over';else if (B.State==1) this.className='TB_Button_On_Over';};function FCKToolbarButtonUI_OnMouseOut(A,B){if (B.State==0) this.className='TB_Button_Off';else if (B.State==1) this.className='TB_Button_On';};function FCKToolbarButtonUI_OnClick(A,B){if (B.OnClick&&B.State!=-1) B.OnClick(B);};function FCKToolbarButtonUI_Cleanup(){this.MainElement=null;};

98 var FCKToolbar=function(){this.Items=[];};FCKToolbar.prototype.AddItem=function(A){return this.Items[this.Items.length]=A;};FCKToolbar.prototype.AddButton=function(A,B,C,D,E,F){if (typeof(D)=='number') D=[this.DefaultIconsStrip,this.DefaultIconSize,D];var G=new FCKToolbarButtonUI(A,B,C,D,E,F);G._FCKToolbar=this;G.OnClick=FCKToolbar_OnItemClick;return this.AddItem(G);};function FCKToolbar_OnItemClick(A){var B=A._FCKToolbar;if (B.OnItemClick) B.OnItemClick(B,A);};FCKToolbar.prototype.AddSeparator=function(){this.AddItem(new FCKToolbarSeparator());};FCKToolbar.prototype.Create=function(A){var B=FCKTools.GetElementDocument(A);var e=B.createElement('table');e.className='TB_Toolbar';e.style.styleFloat=e.style.cssFloat=(FCKLang.Dir=='ltr'?'left':'right');e.dir=FCKLang.Dir;e.cellPadding=0;e.cellSpacing=0;var C=e.insertRow(-1);var D;if (!this.HideStart){D=C.insertCell(-1);D.appendChild(B.createElement('div')).className='TB_Start';};for (var i=0;i<this.Items.length;i++){this.Items[i].Create(C.insertCell(-1));};if (!this.HideEnd){D=C.insertCell(-1);D.appendChild(B.createElement('div')).className='TB_End';};A.appendChild(e);};var FCKToolbarSeparator=function(){};FCKToolbarSeparator.prototype.Create=function(A){FCKTools.AppendElement(A,'div').className='TB_Separator';};

99 var FCKToolbarBreak=function(){};FCKToolbarBreak.prototype.Create=function(A){var B=FCKTools.GetElementDocument(A).createElement('div');B.className='TB_Break';B.style.clear=FCKLang.Dir=='rtl'?'left':'right';A.appendChild(B);};

100 function FCKToolbarSet_Create(A){var B;var C=A||FCKConfig.ToolbarLocation;switch (C){case 'In':document.getElementById('xToolbarRow').style.display='';B=new FCKToolbarSet(document);break;case 'None':B=new FCKToolbarSet(document);break;default:FCK.Events.AttachEvent('OnBlur',FCK_OnBlur);FCK.Events.AttachEvent('OnFocus',FCK_OnFocus);var D;var E=C.match(/^Out:(.+)\((\w+)\)$/);if (E){if (FCKBrowserInfo.IsAIR) FCKAdobeAIR.ToolbarSet_GetOutElement(window,E);else D=eval('parent.'+E[1]).document.getElementById(E[2]);}else{E=C.match(/^Out:(\w+)$/);if (E) D=parent.document.getElementById(E[1]);};if (!D){alert('Invalid value for "ToolbarLocation"');return arguments.callee('In');};B=D.__FCKToolbarSet;if (B) break;var F=FCKTools.GetElementDocument(D).createElement('iframe');F.src='javascript:void(0)';F.frameBorder=0;F.width='100%';F.height='10';D.appendChild(F);F.unselectable='on';var G=F.contentWindow.document;var H='';if (FCKBrowserInfo.IsSafari) H='<base href="'+window.document.location+'">';G.open();G.write('<html><head>'+H+'<script type="text/javascript"> var adjust = function() { window.frameElement.height = document.body.scrollHeight ; }; window.onresize = window.onload = function(){var timer = null;var lastHeight = -1;var lastChange = 0;var poller = function(){var currentHeight = document.body.scrollHeight || 0;var currentTime = (new Date()).getTime();if (currentHeight != lastHeight){lastChange = currentTime;adjust();lastHeight = document.body.scrollHeight;}if (lastChange < currentTime - 1000) clearInterval(timer);};timer = setInterval(poller, 100);}</script></head><body style="overflow: hidden">'+document.getElementById('xToolbarSpace').innerHTML+'</body></html>');G.close();if(FCKBrowserInfo.IsAIR) FCKAdobeAIR.ToolbarSet_InitOutFrame(G);FCKTools.AddEventListener(G,'contextmenu',FCKTools.CancelEvent);FCKTools.AppendStyleSheet(G,FCKConfig.SkinEditorCSS);B=D.__FCKToolbarSet=new FCKToolbarSet(G);B._IFrame=F;if (FCK.IECleanup) FCK.IECleanup.AddItem(D,FCKToolbarSet_Target_Cleanup);};B.CurrentInstance=FCK;if (!B.ToolbarItems) B.ToolbarItems=FCKToolbarItems;FCK.AttachToOnSelectionChange(B.RefreshItemsState);return B;};function FCK_OnBlur(A){var B=A.ToolbarSet;if (B.CurrentInstance==A) B.Disable();};function FCK_OnFocus(A){var B=A.ToolbarSet;var C=A||FCK;B.CurrentInstance.FocusManager.RemoveWindow(B._IFrame.contentWindow);B.CurrentInstance=C;C.FocusManager.AddWindow(B._IFrame.contentWindow,true);B.Enable();};function FCKToolbarSet_Cleanup(){this._TargetElement=null;this._IFrame=null;};function FCKToolbarSet_Target_Cleanup(){this.__FCKToolbarSet=null;};var FCKToolbarSet=function(A){this._Document=A;this._TargetElement=A.getElementById('xToolbar');var B=A.getElementById('xExpandHandle');var C=A.getElementById('xCollapseHandle');B.title=FCKLang.ToolbarExpand;FCKTools.AddEventListener(B,'click',FCKToolbarSet_Expand_OnClick);C.title=FCKLang.ToolbarCollapse;FCKTools.AddEventListener(C,'click',FCKToolbarSet_Collapse_OnClick);if (!FCKConfig.ToolbarCanCollapse||FCKConfig.ToolbarStartExpanded) this.Expand();else this.Collapse();C.style.display=FCKConfig.ToolbarCanCollapse?'':'none';if (FCKConfig.ToolbarCanCollapse) C.style.display='';else A.getElementById('xTBLeftBorder').style.display='';this.Toolbars=[];this.IsLoaded=false;if (FCK.IECleanup) FCK.IECleanup.AddItem(this,FCKToolbarSet_Cleanup);};function FCKToolbarSet_Expand_OnClick(){FCK.ToolbarSet.Expand();};function FCKToolbarSet_Collapse_OnClick(){FCK.ToolbarSet.Collapse();};FCKToolbarSet.prototype.Expand=function(){this._ChangeVisibility(false);};FCKToolbarSet.prototype.Collapse=function(){this._ChangeVisibility(true);};FCKToolbarSet.prototype._ChangeVisibility=function(A){this._Document.getElementById('xCollapsed').style.display=A?'':'none';this._Document.getElementById('xExpanded').style.display=A?'none':'';if (FCKBrowserInfo.IsGecko){FCKTools.RunFunction(window.onresize);}};FCKToolbarSet.prototype.Load=function(A){this.Name=A;this.Items=[];this.ItemsWysiwygOnly=[];this.ItemsContextSensitive=[];this._TargetElement.innerHTML='';var B=FCKConfig.ToolbarSets[A];if (!B){alert(FCKLang.UnknownToolbarSet.replace(/%1/g,A));return;};this.Toolbars=[];for (var x=0;x<B.length;x++){var C=B[x];if (!C) continue;var D;if (typeof(C)=='string'){if (C=='/') D=new FCKToolbarBreak();}else{D=new FCKToolbar();for (var j=0;j<C.length;j++){var E=C[j];if (E=='-') D.AddSeparator();else{var F=FCKToolbarItems.GetItem(E);if (F){D.AddItem(F);this.Items.push(F);if (!F.SourceView) this.ItemsWysiwygOnly.push(F);if (F.ContextSensitive) this.ItemsContextSensitive.push(F);}}}};D.Create(this._TargetElement);this.Toolbars[this.Toolbars.length]=D;};FCKTools.DisableSelection(this._Document.getElementById('xCollapseHandle').parentNode);if (FCK.Status!=2) FCK.Events.AttachEvent('OnStatusChange',this.RefreshModeState);else this.RefreshModeState();this.IsLoaded=true;this.IsEnabled=true;FCKTools.RunFunction(this.OnLoad);};FCKToolbarSet.prototype.Enable=function(){if (this.IsEnabled) return;this.IsEnabled=true;var A=this.Items;for (var i=0;i<A.length;i++) A[i].RefreshState();};FCKToolbarSet.prototype.Disable=function(){if (!this.IsEnabled) return;this.IsEnabled=false;var A=this.Items;for (var i=0;i<A.length;i++) A[i].Disable();};FCKToolbarSet.prototype.RefreshModeState=function(A){if (FCK.Status!=2) return;var B=A?A.ToolbarSet:this;var C=B.ItemsWysiwygOnly;if (FCK.EditMode==0){for (var i=0;i<C.length;i++) C[i].Enable();B.RefreshItemsState(A);}else{B.RefreshItemsState(A);for (var j=0;j<C.length;j++) C[j].Disable();}};FCKToolbarSet.prototype.RefreshItemsState=function(A){var B=(A?A.ToolbarSet:this).ItemsContextSensitive;for (var i=0;i<B.length;i++) B[i].RefreshState();};

101 var FCKDialog=(function(){var A;var B;var C;var D=window.parent;while (D.parent&&D.parent!=D){try{if (D.parent.document.domain!=document.domain) break;if (D.parent.document.getElementsByTagName('frameset').length>0) break;}catch (e){break;};D=D.parent;};var E=D.document;var F=function(){if (!B) B=FCKConfig.FloatingPanelsZIndex+999;return++B;};var G=function(){if (!C) return;var H=FCKTools.IsStrictMode(E)?E.documentElement:E.body;FCKDomTools.SetElementStyles(C,{'width':Math.max(H.scrollWidth,H.clientWidth,E.scrollWidth||0)-1+'px','height':Math.max(H.scrollHeight,H.clientHeight,E.scrollHeight||0)-1+'px'});};return {OpenDialog:function(dialogName,dialogTitle,dialogPage,width,height,customValue,parentWindow,resizable){if (!A) this.DisplayMainCover();var I={Title:dialogTitle,Page:dialogPage,Editor:window,CustomValue:customValue,TopWindow:D};FCK.ToolbarSet.CurrentInstance.Selection.Save();var J=FCKTools.GetViewPaneSize(D);var K={ 'X':0,'Y':0 };var L=FCKBrowserInfo.IsIE&&(!FCKBrowserInfo.IsIE7||!FCKTools.IsStrictMode(D.document));if (L) K=FCKTools.GetScrollPosition(D);var M=Math.max(K.Y+(J.Height-height-20)/2,0);var N=Math.max(K.X+(J.Width-width-20)/2,0);var O=E.createElement('iframe');FCKTools.ResetStyles(O);O.src=FCKConfig.BasePath+'fckdialog.html';O.frameBorder=0;O.allowTransparency=true;FCKDomTools.SetElementStyles(O,{'position':(L)?'absolute':'fixed','top':M+'px','left':N+'px','width':width+'px','height':height+'px','zIndex':F()});O._DialogArguments=I;E.body.appendChild(O);O._ParentDialog=A;A=O;},OnDialogClose:function(dialogWindow){var O=dialogWindow.frameElement;FCKDomTools.RemoveNode(O);if (O._ParentDialog){A=O._ParentDialog;O._ParentDialog.contentWindow.SetEnabled(true);}else{if (!FCKBrowserInfo.IsIE) FCK.Focus();this.HideMainCover();setTimeout(function(){ A=null;},0);FCK.ToolbarSet.CurrentInstance.Selection.Release();}},DisplayMainCover:function(){C=E.createElement('div');FCKTools.ResetStyles(C);FCKDomTools.SetElementStyles(C,{'position':'absolute','zIndex':F(),'top':'0px','left':'0px','backgroundColor':FCKConfig.BackgroundBlockerColor});FCKDomTools.SetOpacity(C,FCKConfig.BackgroundBlockerOpacity);if (FCKBrowserInfo.IsIE&&!FCKBrowserInfo.IsIE7){var Q=E.createElement('iframe');FCKTools.ResetStyles(Q);Q.hideFocus=true;Q.frameBorder=0;Q.src=FCKTools.GetVoidUrl();FCKDomTools.SetElementStyles(Q,{'width':'100%','height':'100%','position':'absolute','left':'0px','top':'0px','filter':'progid:DXImageTransform.Microsoft.Alpha(opacity=0)'});C.appendChild(Q);};FCKTools.AddEventListener(D,'resize',G);G();E.body.appendChild(C);FCKFocusManager.Lock();var R=FCK.ToolbarSet.CurrentInstance.GetInstanceObject('frameElement');R._fck_originalTabIndex=R.tabIndex;R.tabIndex=-1;},HideMainCover:function(){FCKDomTools.RemoveNode(C);FCKFocusManager.Unlock();var R=FCK.ToolbarSet.CurrentInstance.GetInstanceObject('frameElement');R.tabIndex=R._fck_originalTabIndex;FCKDomTools.ClearElementJSProperty(R,'_fck_originalTabIndex');},GetCover:function(){return C;}};})();

aic7xxx.h (http://omnia2droid.googlecode.com/svn/trunk/) C++ Header · 1285 lines ✨ Summary

This is a C++ header file that defines an interface for a storage area network (SAN) controller, specifically designed to work with Fibre Channel devices. It provides functions and structures for managing device information, transfer negotiation, and debugging, as well as interacting with the SAN controller’s hardware components such as registers and EEPROM memory.

17 * including a substantially similar Disclaimer requirement for further

18 * binary redistribution.

19 * 3. Neither the names of the above-listed copyright holders nor the names

20 * of any contributors may be used to endorse or promote products derived

21 * from this software without specific prior written permission.

138 * The maximum number of concurrent transactions supported per driver instance.

139 * Sequencer Control Blocks (SCBs) store per-transaction information. Although

140 * the space for SCBs on the host adapter varies by model, the driver will

141 * page the SCBs between host and controller memory as needed. We are limited

231 * they are using an Ultra capable chip (7859/7860). We start

232 * out with the AHC_ULTRA feature set and then check the DEVSTATUS

233 * register to determine if the capability is really present.

428 * noted even if no data transfers occur. Once the data phase is entered,

429 * the residual sgptr and datacnt are loaded from the sgptr and the

430 * datacnt fields. After each S/G element's dataptr and length are

431 * loaded into the hardware, the residual sgptr is advanced. After

inode.c (http://photon-android.googlecode.com/svn/) C · 2152 lines ✨ Summary

This C code implements a Linux kernel module that provides a file system called “gadgetfs”. It allows users to interact with USB gadgets, such as devices and controllers, in a standardized way. The module registers a file system type with the kernel and provides functions for mounting, unmounting, and manipulating gadget-related files and directories.

8 * it under the terms of the GNU General Public License as published by

9 * the Free Software Foundation; either version 2 of the License, or

10 * (at your option) any later version.

11 *

52 * Key parts that must be USB-specific are protocols defining how the

53 * read/write operations relate to the hardware state machines. There

54 * are two types of files. One type is for the device, implementing ep0.

55 * The other type is for each IN or OUT endpoint. In both cases, the

56 * user mode driver must configure the hardware before using it.

231 /* most "how to use the hardware" policy choices are in userspace:

232 * mapping endpoint roles (which the driver needs) to the capabilities

233 * which the usb controller has. most of those capabilities are exposed

234 * implicitly, starting with the driver name and then endpoint names.

235 */

236