aboutsummaryrefslogtreecommitdiffstats
path: root/wip
diff options
context:
space:
mode:
Diffstat (limited to 'wip')
-rw-r--r--wip/bbcodemaster159
-rw-r--r--wip/country_state_selector_ajax1.5.5.zipbin0 -> 58312 bytes
-rw-r--r--wip/countrylist.php257
3 files changed, 416 insertions, 0 deletions
diff --git a/wip/bbcodemaster b/wip/bbcodemaster
new file mode 100644
index 000000000..9353862d5
--- /dev/null
+++ b/wip/bbcodemaster
@@ -0,0 +1,159 @@
+http://docs.simplemachines.org/index.php?topic=57.0
+
+
+Button Usage Description
+ [b]text[/b] Makes text bold.
+ [i]text[/i] Makes text italicized.
+ [u]text[/u] Underlines text.
+ [s]text[/s] Strikes out text.
+ [glow=red,2,50]glow[/glow] Adds a glowing effect to text. This BBCode only works with MS Internet Explorer. This is not a standard feature in any other browser.
+ [shadow=red,left]shadow[/shadow] Adds a shadow effect to text. This BBCode only works with MS Internet Explorer. This is not a standard feature in any other browser.
+ [move]text[/move] Makes the text inside move in a marquee.
+ [pre]text[/pre] Preformats enclosed text.
+ [left]left align[/left] Aligns enclosed items to the left.
+ [center]centered[/center] Aligns enclosed items to the center.
+ [right]right align[/right] Aligns enclosed items to the right.
+ [hr] Inserts a horizontal rule into a Post or PM. Note there is no closing tag.
+ [size=10pt]font size[/size] Adjusts the font size of the enclosed text.
+ [font=Verdana]font face[/font] Used to change the font face of the enclosed text.
+ [flash=200,200]http://somesite/somefile.swf[/flash] Inserts a link to an animated flash file in .swf format. Please be cautious when enabling this BBCode in your forum, since it may be a security risk.
+ [img]http://somesite/image.jpg[/img] Inserts an image into a Post or personal message.
+ [url]http://somesite/[/url]
+or [url=http://somesite/]Site Name[/url] Formats a URL in a Post or personal message.
+ [email]someone@somesite[/email]
+or [email=someone@somesite]Somename[/email] Formats an email address in a Post or personal message.
+ [ftp]ftp://somesite[/ftp]
+or [ftp=ftp://somesite]somesite[/ftp] Formats an FTP address in a Post or personal message.
+ [sup]text[/sup] Formats enclosed text as a superscript.
+ [sub]text[/sub] Formats enclosed text as a subscript.
+ [tt]text[/tt] Formats enclosed text in teletype format.
+ [code]code[/code] Used to insert a selection of code into a Personal message or post.
+ [quote]text[/quote] or
+[quote=Author link=http://somesite/]text[/quote] Places enclosed text in a quote box.
+ [list]
+[li]SMF[/li]
+[li]YaBB SE[/li]
+[/list]
+You can also use the following:
+[list]
+[o]circle
+[O]circle
+[0]circle
+[*]disc
+[@]disc
+[+]square
+[x]square
+[#]square
+[/list] Inserts items in list format.
+
+
+
+For the following 3 tags: they have to be used exactly like their HTML equivalent.This is a table.
+ [table][/table] Inserts a table. It can't be used alone, or it has no sense!
+ [tr][/tr] Inserts a row into a table. This BBCode can't be used alone.
+ [td][/td] Inserts a column into a table. This BBCode can't be used alone.
+
+BBCode without buttons on the interface.
+Usage Description
+[abbr=exemlpi gratia]eg[/abbr] Displays the full expression for the abbreviation on mouseover.
+[acronym=Simple Machines Forum]SMF[/acronym] Displays the full expression for the acronym on mouseover.
+[html]<br />[/html] Parses HTML code. (Only Admins can use this)
+[nobbc] [/nobbc] Ignores bbcode formatting
+[time]1132812640[/time] Converts a Unix Timestamp into a time recognizable by people.
+[iurl]http://somesite/[/iurl] Makes a link that opens in the same window.
+[anchor=test]Test[/anchor] [url=#test]Link to anchor[/url]
+
+
+
+
+
+
+act me.
+Introduction
+This free tool allows you to easily convert BBCode formatted text (such as forum posts) to standard HTML. Unlike some converters, this will generate proper paragraph tags (instead of just using a lot of line breaks), and it utilizes CSS declarations for font sizes, color, etc. instead of their depreciated HTML tag counterparts. There are several options available, and a list of supported tags can be found below.
+Enter BBCode to convert to HTML
+
+Conversion Options
+Use filenames for image alt text
+Close tags properly for XHTML
+Links open in new window (target="_blank")
+Ignore color declarations
+Ignore font type and size declarations
+Protect email addresses (userATdomainDOTcom)
+Supported BBCode Tags
+
+ *
+ Bold
+ [b]Hello[/b]
+ *
+ Underlined
+ [u]Hello[/u]
+ *
+ Italics
+ [i]Hello[/i]
+ *
+ Strikethrough
+ [s]Hello[/s]
+ *
+ Forced Linebreak
+ [br]
+ *
+ Colors
+ [color=red]Hello[/color]
+ *
+
+ [color=#FF0000]Hello[/color]
+ *
+ Font Size
+ [size=9]Hello[/size]
+ *
+ Font Type
+ [font=Verdana]Hello[/font]
+ *
+ Alignment
+ [align=left]left aligned text[/align]
+ *
+
+ [align=center]centered text[/align]
+ *
+
+ [center]centered text[/center]
+ *
+
+ [align=right]right aligned text[/align]
+ *
+ Quotes
+ [quote]Hello[/quote]
+ *
+
+ [quote="Name"]Hello[/quote]
+ *
+
+ [quote=Name]Hello[/quote]
+ *
+ Code
+ [code]Hello[/code] (text between code tags is not modified)
+ *
+ Unordered Lists
+ [list] [*]Red [*]Blue [*]Yellow [/list]
+ *
+ Ordered Lists
+ [list=1] [*]Red [*]Blue [*]Yellow [/list]
+ *
+
+ [list=a] [*]Red [*]Blue [*]Yellow [/list]
+ *
+ Links
+ [url]http://www.example.com/[/url]
+ *
+
+ [url=http://www.example.com/]Example[/url]
+ *
+ Email
+ [email]user@domain.com[/email]
+ *
+
+ [email=user@domain.com]email me[/email]
+ *
+ Images
+ [img]http://domain.com/image.jpg[/img]
diff --git a/wip/country_state_selector_ajax1.5.5.zip b/wip/country_state_selector_ajax1.5.5.zip
new file mode 100644
index 000000000..55db3ab0d
--- /dev/null
+++ b/wip/country_state_selector_ajax1.5.5.zip
Binary files differ
diff --git a/wip/countrylist.php b/wip/countrylist.php
new file mode 100644
index 000000000..a285344ec
--- /dev/null
+++ b/wip/countrylist.php
@@ -0,0 +1,257 @@
+class CountryListHelper extends FormHelper
+{
+
+ var $helpers = array('Form');
+
+ function select($fieldname, $label, $default=" ", $attributes)
+ {
+ $list = '<div class="input">';
+ $list .= $this->Form->label($fieldname, $label);
+ $list .= $this->Form->select($fieldname , array(
+ ' ' => __('Please select a country', true),
+ '--' => __('None', true),
+ 'AF' => __('Afganistan', true),
+ 'AL' => __('Albania', true),
+ 'DZ' => __('Algeria', true),
+ 'AS' => __('American Samoa', true),
+ 'AD' => __('Andorra', true),
+ 'AO' => __('Angola', true),
+ 'AI' => __('Anguilla', true),
+ 'AQ' => __('Antarctica', true),
+ 'AG' => __('Antigua and Barbuda', true),
+ 'AR' => __('Argentina', true),
+ 'AM' => __('Armenia', true),
+ 'AW' => __('Aruba', true),
+ 'AU' => __('Australia', true),
+ 'AT' => __('Austria', true),
+ 'AZ' => __('Azerbaijan', true),
+ 'BS' => __('Bahamas', true),
+ 'BH' => __('Bahrain', true),
+ 'BD' => __('Bangladesh', true),
+ 'BB' => __('Barbados', true),
+ 'BY' => __('Belarus', true),
+ 'BE' => __('Belgium', true),
+ 'BZ' => __('Belize', true),
+ 'BJ' => __('Benin', true),
+ 'BM' => __('Bermuda', true),
+ 'BT' => __('Bhutan', true),
+ 'BO' => __('Bolivia', true),
+ 'BA' => __('Bosnia and Herzegowina', true),
+ 'BW' => __('Botswana', true),
+ 'BV' => __('Bouvet Island', true),
+ 'BR' => __('Brazil', true),
+ 'IO' => __('British Indian Ocean Territory', true),
+ 'BN' => __('Brunei Darussalam', true),
+ 'BG' => __('Bulgaria', true),
+ 'BF' => __('Burkina Faso', true),
+ 'BI' => __('Burundi', true),
+ 'KH' => __('Cambodia', true),
+ 'CM' => __('Cameroon', true),
+ 'CA' => __('Canada', true),
+ 'CV' => __('Cape Verde', true),
+ 'KY' => __('Cayman Islands', true),
+ 'CF' => __('Central African Republic', true),
+ 'TD' => __('Chad', true),
+ 'CL' => __('Chile', true),
+ 'CN' => __('China', true),
+ 'CX' => __('Christmas Island', true),
+ 'CC' => __('Cocos (Keeling) Islands', true),
+ 'CO' => __('Colombia', true),
+ 'KM' => __('Comoros', true),
+ 'CG' => __('Congo', true),
+ 'CD' => __('Congo, the Democratic Republic of the', true),
+ 'CK' => __('Cook Islands', true),
+ 'CR' => __('Costa Rica', true),
+ 'CI' => __('Cote d\'Ivoire', true),
+ 'HR' => __('Croatia (Hrvatska)', true),
+ 'CU' => __('Cuba', true),
+ 'CY' => __('Cyprus', true),
+ 'CZ' => __('Czech Republic', true),
+ 'DK' => __('Denmark', true),
+ 'DJ' => __('Djibouti', true),
+ 'DM' => __('Dominica', true),
+ 'DO' => __('Dominican Republic', true),
+ 'TP' => __('East Timor', true),
+ 'EC' => __('Ecuador', true),
+ 'EG' => __('Egypt', true),
+ 'SV' => __('El Salvador', true),
+ 'GQ' => __('Equatorial Guinea', true),
+ 'ER' => __('Eritrea', true),
+ 'EE' => __('Estonia', true),
+ 'ET' => __('Ethiopia', true),
+ 'FK' => __('Falkland Islands (Malvinas)', true),
+ 'FO' => __('Faroe Islands', true),
+ 'FJ' => __('Fiji', true),
+ 'FI' => __('Finland', true),
+ 'FR' => __('France', true),
+ 'FX' => __('France, Metropolitan', true),
+ 'GF' => __('French Guiana', true),
+ 'PF' => __('French Polynesia', true),
+ 'TF' => __('French Southern Territories', true),
+ 'GA' => __('Gabon', true),
+ 'GM' => __('Gambia', true),
+ 'GE' => __('Georgia', true),
+ 'DE' => __('Germany', true),
+ 'GH' => __('Ghana', true),
+ 'GI' => __('Gibraltar', true),
+ 'GR' => __('Greece', true),
+ 'GL' => __('Greenland', true),
+ 'GD' => __('Grenada', true),
+ 'GP' => __('Guadeloupe', true),
+ 'GU' => __('Guam', true),
+ 'GT' => __('Guatemala', true),
+ 'GN' => __('Guinea', true),
+ 'GW' => __('Guinea-Bissau', true),
+ 'GY' => __('Guyana', true),
+ 'HT' => __('Haiti', true),
+ 'HM' => __('Heard and Mc Donald Islands', true),
+ 'VA' => __('Holy See (Vatican City State)', true),
+ 'HN' => __('Honduras', true),
+ 'HK' => __('Hong Kong', true),
+ 'HU' => __('Hungary', true),
+ 'IS' => __('Iceland', true),
+ 'IN' => __('India', true),
+ 'ID' => __('Indonesia', true),
+ 'IR' => __('Iran (Islamic Republic of)', true),
+ 'IQ' => __('Iraq', true),
+ 'IE' => __('Ireland', true),
+ 'IL' => __('Israel', true),
+ 'IT' => __('Italy', true),
+ 'JM' => __('Jamaica', true),
+ 'JP' => __('Japan', true),
+ 'JO' => __('Jordan', true),
+ 'KZ' => __('Kazakhstan', true),
+ 'KE' => __('Kenya', true),
+ 'KI' => __('Kiribati', true),
+ 'KP' => __('Korea, Democratic People\'s Republic of', true),
+ 'KR' => __('Korea, Republic of', true),
+ 'KW' => __('Kuwait', true),
+ 'KG' => __('Kyrgyzstan', true),
+ 'LA' => __('Lao People\'s Democratic Republic', true),
+ 'LV' => __('Latvia', true),
+ 'LB' => __('Lebanon', true),
+ 'LS' => __('Lesotho', true),
+ 'LR' => __('Liberia', true),
+ 'LY' => __('Libyan Arab Jamahiriya', true),
+ 'LI' => __('Liechtenstein', true),
+ 'LT' => __('Lithuania', true),
+ 'LU' => __('Luxembourg', true),
+ 'MO' => __('Macau', true),
+ 'MK' => __('Macedonia, The Former Yugoslav Republic of', true),
+ 'MG' => __('Madagascar', true),
+ 'MW' => __('Malawi', true),
+ 'MY' => __('Malaysia', true),
+ 'MV' => __('Maldives', true),
+ 'ML' => __('Mali', true),
+ 'MT' => __('Malta', true),
+ 'MH' => __('Marshall Islands', true),
+ 'MQ' => __('Martinique', true),
+ 'MR' => __('Mauritania', true),
+ 'MU' => __('Mauritius', true),
+ 'YT' => __('Mayotte', true),
+ 'MX' => __('Mexico', true),
+ 'FM' => __('Micronesia, Federated States of', true),
+ 'MD' => __('Moldova, Republic of', true),
+ 'MC' => __('Monaco', true),
+ 'MN' => __('Mongolia', true),
+ 'MS' => __('Montserrat', true),
+ 'MA' => __('Morocco', true),
+ 'MZ' => __('Mozambique', true),
+ 'MM' => __('Myanmar', true),
+ 'NA' => __('Namibia', true),
+ 'NR' => __('Nauru', true),
+ 'NP' => __('Nepal', true),
+ 'NL' => __('Netherlands', true),
+ 'AN' => __('Netherlands Antilles', true),
+ 'NC' => __('New Caledonia', true),
+ 'NZ' => __('New Zealand', true),
+ 'NI' => __('Nicaragua', true),
+ 'NE' => __('Niger', true),
+ 'NG' => __('Nigeria', true),
+ 'NU' => __('Niue', true),
+ 'NF' => __('Norfolk Island', true),
+ 'MP' => __('Northern Mariana Islands', true),
+ 'NO' => __('Norway', true),
+ 'OM' => __('Oman', true),
+ 'PK' => __('Pakistan', true),
+ 'PW' => __('Palau', true),
+ 'PA' => __('Panama', true),
+ 'PG' => __('Papua New Guinea', true),
+ 'PY' => __('Paraguay', true),
+ 'PE' => __('Peru', true),
+ 'PH' => __('Philippines', true),
+ 'PN' => __('Pitcairn', true),
+ 'PL' => __('Poland', true),
+ 'PT' => __('Portugal', true),
+ 'PR' => __('Puerto Rico', true),
+ 'QA' => __('Qatar', true),
+ 'RE' => __('Reunion', true),
+ 'RO' => __('Romania', true),
+ 'RU' => __('Russian Federation', true),
+ 'RW' => __('Rwanda', true),
+ 'KN' => __('Saint Kitts and Nevis', true),
+ 'LC' => __('Saint LUCIA', true),
+ 'VC' => __('Saint Vincent and the Grenadines', true),
+ 'WS' => __('Samoa', true),
+ 'SM' => __('San Marino', true),
+ 'ST' => __('Sao Tome and Principe', true),
+ 'SA' => __('Saudi Arabia', true),
+ 'SN' => __('Senegal', true),
+ 'SC' => __('Seychelles', true),
+ 'SL' => __('Sierra Leone', true),
+ 'SG' => __('Singapore', true),
+ 'SK' => __('Slovakia (Slovak Republic)', true),
+ 'SI' => __('Slovenia', true),
+ 'SB' => __('Solomon Islands', true),
+ 'SO' => __('Somalia', true),
+ 'ZA' => __('South Africa', true),
+ 'GS' => __('South Georgia and the South Sandwich Islands', true),
+ 'ES' => __('Spain', true),
+ 'LK' => __('Sri Lanka', true),
+ 'SH' => __('St. Helena', true),
+ 'PM' => __('St. Pierre and Miquelon', true),
+ 'SD' => __('Sudan', true),
+ 'SR' => __('Suriname', true),
+ 'SJ' => __('Svalbard and Jan Mayen Islands', true),
+ 'SZ' => __('Swaziland', true),
+ 'SE' => __('Sweden', true),
+ 'CH' => __('Switzerland', true),
+ 'SY' => __('Syrian Arab Republic', true),
+ 'TW' => __('Taiwan, Province of China', true),
+ 'TJ' => __('Tajikistan', true),
+ 'TZ' => __('Tanzania, United Republic of', true),
+ 'TH' => __('Thailand', true),
+ 'TG' => __('Togo', true),
+ 'TK' => __('Tokelau', true),
+ 'TO' => __('Tonga', true),
+ 'TT' => __('Trinidad and Tobago', true),
+ 'TN' => __('Tunisia', true),
+ 'TR' => __('Turkey', true),
+ 'TM' => __('Turkmenistan', true),
+ 'TC' => __('Turks and Caicos Islands', true),
+ 'TV' => __('Tuvalu', true),
+ 'UG' => __('Uganda', true),
+ 'UA' => __('Ukraine', true),
+ 'AE' => __('United Arab Emirates', true),
+ 'GB' => __('United Kingdom', true),
+ 'US' => __('United States', true),
+ 'UM' => __('United States Minor Outlying Islands', true),
+ 'UY' => __('Uruguay', true),
+ 'UZ' => __('Uzbekistan', true),
+ 'VU' => __('Vanuatu', true),
+ 'VE' => __('Venezuela', true),
+ 'VN' => __('Viet Nam', true),
+ 'VG' => __('Virgin Islands (British)', true),
+ 'VI' => __('Virgin Islands (U.S.)', true),
+ 'WF' => __('Wallis and Futuna Islands', true),
+ 'EH' => __('Western Sahara', true),
+ 'YE' => __('Yemen', true),
+ 'YU' => __('Yugoslavia', true),
+ 'ZM' => __('Zambia', true),
+ 'ZW' => __('Zimbabwe', true)
+ ), $default, $attributes);
+ $list .= '</div>';
+ return $this->output($list);
+ }
+
+} \ No newline at end of file