36. Araxis Merge File Comparison Report

Produced by Araxis Merge on Mon May 18 06:28:42 2009 UTC. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a reasonably standards compliant browser such as the latest version of Firefox or Internet Explorer. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

36.1 Files compared

# Location File Last Modified
1 D:\Dolphin-v.6.1.5\templates\base\scripts BxBaseConfig.php Thu Apr 23 04:17:08 2009 UTC
2 D:\Dolphin-v.6.1.6\templates\base\scripts BxBaseConfig.php Mon May 11 08:58:48 2009 UTC

36.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 12 722
Changed 4 29
Inserted 6 7
Removed 1 1

36.3 Comparison options

Whitespace All differences in whitespace within lines are ignored
Character case Differences in character case are ignored
Line endings Differences in line endings (CR and LF characters) are significant
CR/LF characters Not shown in the comparison detail

36.4 Active regular expressions

No regular expressions were active.

36.5 Comparison detail

1   <?   1   <?
2     2  
3   /********* ********** ********** ********** ********** ********** ********** ******   3   /********* ********** ********** ********** ********** ********** ********** ******
4   *                              D olphin Sma rt Communi ty Builder   4   *                              D olphin Sma rt Communi ty Builder
5   *                                 --------- ----------   5   *                                 --------- ----------
6   *     begi n                 : M on Mar 23  2006   6   *     begi n                 : M on Mar 23  2006
7   *     copy right             : ( C) 2007 Bo onEx Group   7   *     copy right             : ( C) 2007 Bo onEx Group
8   *     webs ite               : h ttp://www. boonex.com   8   *     webs ite               : h ttp://www. boonex.com
9   * This fil e is part  of Dolphin  - Smart C ommunity B uilder   9   * This fil e is part  of Dolphin  - Smart C ommunity B uilder
10   *   10   *
11   * Dolphin  is free so ftware; yo u can redi stribute i t and/or m odify it u nder   11   * Dolphin  is free so ftware; yo u can redi stribute i t and/or m odify it u nder
12   * the term s of the G NU General  Public Li cense as p ublished b y the   12   * the term s of the G NU General  Public Li cense as p ublished b y the
13   * Free Sof tware Foun dation; ei ther versi on 2 of th e   13   * Free Sof tware Foun dation; ei ther versi on 2 of th e
14   * License,  or  any l ater versi on.   14   * License,  or  any l ater versi on.
15   *   15   *
16   * Dolphin  is distrib uted in th e hope tha t it will  be useful,  but WITHO UT ANY WAR RANTY;   16   * Dolphin  is distrib uted in th e hope tha t it will  be useful,  but WITHO UT ANY WAR RANTY;
17   * without  even the i mplied war ranty of   MERCHANTAB ILITY or F ITNESS FOR  A PARTICU LAR PURPOS E.   17   * without  even the i mplied war ranty of   MERCHANTAB ILITY or F ITNESS FOR  A PARTICU LAR PURPOS E.
18   * See the  GNU Genera l Public L icense for  more deta ils.   18   * See the  GNU Genera l Public L icense for  more deta ils.
19   * You shou ld have re ceived a c opy of the  GNU Gener al Public  License al ong with D olphin,   19   * You shou ld have re ceived a c opy of the  GNU Gener al Public  License al ong with D olphin,
20   * see lice nse.txt fi le; if not , write to  marketing @boonex.co m   20   * see lice nse.txt fi le; if not , write to  marketing @boonex.co m
21   ********** ********** ********** ********** ********** ********** ********** *****/   21   ********** ********** ********** ********** ********** ********** ********** *****/
22     22  
23   require_on ce( BX_DIR ECTORY_PAT H_INC . 'd b.inc.php'  );   23   require_on ce( BX_DIR ECTORY_PAT H_INC . 'd b.inc.php'  );
24     24  
25   class BxBa seConfig   25   class BxBa seConfig
26   {   26   {
27           va r $aSite;   27           va r $aSite;
28     28  
29           va r $memberM enu_db_num                                               = 1;   29           va r $memberM enu_db_num                                               = 1;
30   /*   30   /*
31           va r $customM enu_db_num                                               = 1;   31           va r $customM enu_db_num                                               = 1;
32           va r $adminMe nu_db_num                                                = 1;   32           va r $adminMe nu_db_num                                                = 1;
33           va r $affMenu _db_num                                                           = 1;   33           va r $affMenu _db_num                                                           = 1;
34           va r $visitor Menu_db_nu m                                             = 1;   34           va r $visitor Menu_db_nu m                                             = 1;
35           va r $moderat orMenu_db_ num                                           = 1;   35           va r $moderat orMenu_db_ num                                           = 1;
36   */   36   */
37     37  
38           /*       inde x.php        */   38           /*       inde x.php        */
39           va r     $Pag eCompTopMe mbers_db_n um                                 = 1;   39           va r     $Pag eCompTopMe mbers_db_n um                                 = 1;
40           va r $DesignQ uickSearch Index_db_n um                        = 1;   40           va r $DesignQ uickSearch Index_db_n um                        = 1;
41           va r $PageCom pMemberSta t_db_num                             = 1;   41           va r $PageCom pMemberSta t_db_num                             = 1;
42           va r $PageCom pSurvey_db _num                                          = 1;   42           va r $PageCom pSurvey_db _num                                          = 1;
43           va r     $Pag eCompNews_ db_num                                        = 1;   43           va r     $Pag eCompNews_ db_num                                        = 1;
44           va r     $Pag eCompTopRa ted_db_num                                    = 1;   44           va r     $Pag eCompTopRa ted_db_num                                    = 1;
45           va r     $Pag eCompFeatu red_db_num                                    = 1;   45           va r     $Pag eCompFeatu red_db_num                                    = 1;
46           va r     $Pag eCompSucce ssStory_db _num                      = 1;   46           va r     $Pag eCompSucce ssStory_db _num                      = 1;
47           va r     $Pag eCompNewsL etters_db_ num                                = 1;   47           va r     $Pag eCompNewsL etters_db_ num                                = 1;
48           /* */   48           /* */
49           va r     $Pag eCompThird _db_num                                       = 0;   49           va r     $Pag eCompThird _db_num                                       = 0;
50     50  
51           /* Membership .php*/   51           /* Membership .php*/
52           va r     $Pag eCompStatu s_db_num                                      = 1;   52           va r     $Pag eCompStatu s_db_num                                      = 1;
53           va r     $Pag eCompSubsc riptions_d b_num                     = 1;   53           va r     $Pag eCompSubsc riptions_d b_num                     = 1;
54           va r     $Pag eCompMembe rships_db_ num                                = 1;   54           va r     $Pag eCompMembe rships_db_ num                                = 1;
55           /*       cc.p hp  */   55           /*       cc.p hp  */
56           va r     $com municator_ Hot_db_num                                    = 1;   56           va r     $com municator_ Hot_db_num                                    = 1;
57           va r     $com municator_ Friend_db_ num                                = 1;   57           va r     $com municator_ Friend_db_ num                                = 1;
58           va r     $com municator_ Block_db_n um                                 = 1;   58           va r     $com municator_ Block_db_n um                                 = 1;
59           va r     $com municator_ Kiss_db_nu m                                  = 1;   59           va r     $com municator_ Kiss_db_nu m                                  = 1;
60           va r     $com municator_ View_db_nu m                                  = 1;   60           va r     $com municator_ View_db_nu m                                  = 1;
61           va r     $com municator_ Contact_db _num                      = 1;   61           va r     $com municator_ Contact_db _num                      = 1;
62           va r     $com municator_ PPhotos_db _num                      = 1;   62           va r     $com municator_ PPhotos_db _num                      = 1;
63                    //Sp eedDating   63                    //Sp eedDating
64           va r     $Pag eSDatingSh owEvents_d b_num                     = 1;   64           va r     $Pag eSDatingSh owEvents_d b_num                     = 1;
65           va r     $Pag eSDatingSh owInfo_db_ num                                = 1;   65           va r     $Pag eSDatingSh owInfo_db_ num                                = 1;
66           va r     $Pag eSDatingSh owParticip ants_db_nu m              = 1;   66           va r     $Pag eSDatingSh owParticip ants_db_nu m              = 1;
67           va r     $Pag eSDatingSe lectMatche s_db_num                  = 1;   67           va r     $Pag eSDatingSe lectMatche s_db_num                  = 1;
68           va r     $Pag eSDatingSh owForm_db_ num                                = 1;   68           va r     $Pag eSDatingSh owForm_db_ num                                = 1;
69           va r     $Pag eSDatingCa lendar_db_ num                                = 1;   69           va r     $Pag eSDatingCa lendar_db_ num                                = 1;
70           va r     $Pag eSDatingNe wEvent_db_ num                                = 1;   70           va r     $Pag eSDatingNe wEvent_db_ num                                = 1;
71                    //Ch eckout   71                    //Ch eckout
72           va r     $Pag eCompCheck outInfo_db _num                      = 1;   72           va r     $Pag eCompCheck outInfo_db _num                      = 1;
73           va r     $Pag eCompProvi derList_db _num                      = 1;   73           va r     $Pag eCompProvi derList_db _num                      = 1;
74           va r     $Pag eCompError Message_db _num                      = 1;   74           va r     $Pag eCompError Message_db _num                      = 1;
75                    //Vi deo   75                    //Vi deo
76           va r     $Pag eCompUploa dVideo_db_ num                                = 1;   76           va r     $Pag eCompUploa dVideo_db_ num                                = 1;
77           va r     $Pag eCompRayRe corder_db_ num                                = 1;   77           va r     $Pag eCompRayRe corder_db_ num                                = 1;
78     78  
79           va r     $Pag eExplanati on_db_num                                     = 1;   79           va r     $Pag eExplanati on_db_num                                     = 1;
80     80  
81                    /*       cart-p op.php     */   81                    /*       cart-p op.php     */
82           va r     $Pag eCartPop_d b_num                                                  = 1;   82           va r     $Pag eCartPop_d b_num                                                  = 1;
83                    /*       sound_ pop.php    */   83                    /*       sound_ pop.php    */
84           va r     $Pag eSoundPop_ db_num                                        = 1;   84           va r     $Pag eSoundPop_ db_num                                        = 1;
85                    /*       freema il.php     */   85                    /*       freema il.php     */
86           va r     $Pag eFreeMailP op_db_num                                     = 1;   86           va r     $Pag eFreeMailP op_db_num                                     = 1;
87                    /*       greet. php        */   87                    /*       greet. php        */
88           va r     $Pag eVkiss_db_ num                                                    = 1;   88           va r     $Pag eVkiss_db_ num                                                    = 1;
89                    /*       compos e.php      */   89                    /*       compos e.php      */
90           va r     $Pag eCompose_d b_num                                                  = 0;   90           va r     $Pag eCompose_d b_num                                                  = 0;
91                    /*       galler y.php      */   91                    /*       galler y.php      */
92           va r     $Pag eGallerySh owObject_d b_num                     = 1;   92           va r     $Pag eGallerySh owObject_d b_num                     = 1;
93                    /*       inbox. php        */   93                    /*       inbox. php        */
94           va r     $Pag eInbox_db_ num                                                    = 0;   94           va r     $Pag eInbox_db_ num                                                    = 0;
95                    /*       list-p op.php     */   95                    /*       list-p op.php     */
96           va r     $Pag eListPop_d b_num                                                  = 1;   96           va r     $Pag eListPop_d b_num                                                  = 1;
97                    /*       messag es_inbox.p hp      */   97                    /*       messag es_inbox.p hp      */
98           va r     $Pag eMessagesI nboxMessag eDeleted_d b_num = 0;   98           va r     $Pag eMessagesI nboxMessag eDeleted_d b_num = 0;
99           va r     $Pag eMessagesI nboxMainCo de_db_num                 = 0;   99           va r     $Pag eMessagesI nboxMainCo de_db_num                 = 0;
100                    /*       messag es_outbox. php     */   100                    /*       messag es_outbox. php     */
101           va r     $Pag eMessagesO utboxMainC ode_db_num                = 0;   101           va r     $Pag eMessagesO utboxMainC ode_db_num                = 0;
102                    /*       outbox .php       */   102                    /*       outbox .php       */
103           va r     $Pag eOutboxMai nCode_db_n um                                 = 0;   103           va r     $Pag eOutboxMai nCode_db_n um                                 = 0;
104                    /*       photos _gallery.p hp      */   104                    /*       photos _gallery.p hp      */
105           va r     $Pag ePhotosGal leryNoPics _db_num                   = 1;   105           va r     $Pag ePhotosGal leryNoPics _db_num                   = 1;
106                    /*       rate.p hp         */   106                    /*       rate.p hp         */
107           va r     $Pag eRateMainC ode_db_num                                    = 0;   107           va r     $Pag eRateMainC ode_db_num                                    = 0;
108                    /*       search .php       */   108                    /*       search .php       */
109           va r     $Pag eSearcResu ltGallery_ db_num                    = 0;   109           va r     $Pag eSearcResu ltGallery_ db_num                    = 0;
110                    /*       design .inc.php   */   110                    /*       design .inc.php   */
111           va r     $Pag eRetIM_db_ num                                                    = 1;   111           va r     $Pag eRetIM_db_ num                                                    = 1;
112           va r     $loa dShoutbox_ db_num                                        = 1;   112           va r     $loa dShoutbox_ db_num                                        = 1;
113                    /*       profil e.php      */   113                    /*       profil e.php      */
114           va r     $get MemberProf ileComment s_db_num                  = 1;   114           va r     $get MemberProf ileComment s_db_num                  = 1;
115                    /*       index. php        */   115                    /*       index. php        */
116           va r     $Pag eCompProfi lePoll_db_ num                                = 1;   116           va r     $Pag eCompProfi lePoll_db_ num                                = 1;
117     117  
118           // Width of V otes scale  at profil r view pag e   118           // Width of V otes scale  at profil r view pag e
119           va r     $iPr ofileViewV otesWidth                                     = 200;   119           va r     $iPr ofileViewV otesWidth                                     = 200;
120           va r     $iPr ofileViewP rogressBar                                             = 67;   120           va r     $iPr ofileViewP rogressBar                                             = 67;
121     121  
122           //  width of  progress b ar in sear ch result  ( for matc h % )   122           //  width of  progress b ar in sear ch result  ( for matc h % )
123           va r     $sea rch_progre ssbar_w                                       = 67;   123           va r     $sea rch_progre ssbar_w                                       = 67;
124     124  
125                    // w idth of pr ogress bar  on home p age   125                    // w idth of pr ogress bar  on home p age
126           va r     $ind ex_progres sbar_w                                        = 120;   126           va r     $ind ex_progres sbar_w                                        = 120;
127     127  
128     128  
129                    // s how text l ink "view  as photoga llery" in  the page n avigation  of search  result pag e   129                    // s how text l ink "view  as photoga llery" in  the page n avigation  of search  result pag e
130           va r     $sho w_gallery_ link_in_pa ge_navigat ion   = 1;   130           va r     $sho w_gallery_ link_in_pa ge_navigat ion   = 1;
131     131  
132           //  default v alue for n umber of s earch resu lts per pa ge   132           //  default v alue for n umber of s earch resu lts per pa ge
133           va r     $def _p_per_pag e                                                      = 10;   133           va r     $def _p_per_pag e                                                      = 10;
134     134  
135           //  Instant M essanger (  Private M essages Pa nel ) Sett ings   135           //  Instant M essanger (  Private M essages Pa nel ) Sett ings
136           va r     $im_ width                                                                     =  187; // wi dth of IM   136           va r     $im_ width                                                                     =  187; // wi dth of IM
137           va r     $im_ height                                                                    =  206; // he ight of IM   137           va r     $im_ height                                                                    =  206; // he ight of IM
138           va r     $im_ input_heig ht                                                     = 25; // H eight of i nput panel   138           va r     $im_ input_heig ht                                                     = 25; // H eight of i nput panel
139           va r     $im_ input                                                                     =  18; // siz e of IM in put text e dit text c ontrol   139           va r     $im_ input                                                                     =  18; // siz e of IM in put text e dit text c ontrol
140     140  
141                    // S hout Box S ettings   141                    // S hout Box S ettings
142           va r     $fra mewidth                                                                   =  197; //wid th of Shou t Box Fram e   142           va r     $fra mewidth                                                                   =  197; //wid th of Shou t Box Fram e
143           va r     $fra meheight                                                          = 250; //H eight Of S hout Box F rame   143           va r     $fra meheight                                                          = 250; //H eight Of S hout Box F rame
144     144  
145           va r     $max wordlength                                                        = 20; //Ma x namber o f characht ers in wor d   145           va r     $max wordlength                                                        = 20; //Ma x namber o f characht ers in wor d
146           va r     $max textlength                                                        = 60; //Ma x namber o f characht ers in lin e without  white spac e   146           va r     $max textlength                                                        = 60; //Ma x namber o f characht ers in lin e without  white spac e
147           va r     $max records                                                                   =  16; //Max  number of  lines   147           va r     $max records                                                                   =  16; //Max  number of  lines
148           va r     $cla sses                                                                      =  2; //Numbe r of class es   148           va r     $cla sses                                                                      =  2; //Numbe r of class es
149     149  
150           va r     $pop UpWindowWi dth                                                    = 500;   150           va r     $pop UpWindowWi dth                                                    = 500;
151           va r     $pop UpWindowHe ight                                                   = 200;   151           va r     $pop UpWindowHe ight                                                   = 200;
152     152  
153           va r $iMaxNew sOnMemberP anel                                          = 2;   153           va r $iMaxNew sOnMemberP anel                                          = 2;
154           va r $iMaxNew sOnIndex                                                 = 2;   154           va r $iMaxNew sOnIndex                                                 = 2;
155           va r $iNewsPr eview                                                             = 128;   155           va r $iNewsPr eview                                                             = 128;
156           va r $iNewsHe ader                                                              = 27;   156           va r $iNewsHe ader                                                              = 27;
157           va r $iSearch ResultGall eryCols                              = 4;   157           va r $iSearch ResultGall eryCols                              = 4;
158              158           
159                    // G roups   159                    // G roups
160           va r $iGroupM embersPreN um                                            = 21; // number of  random mem bers shown  in main p age of gro up   160           va r $iGroupM embersPreN um                                            = 21; // number of  random mem bers shown  in main p age of gro up
161           va r $iGroupM embersResP erPage                               = 14;   161           va r $iGroupM embersResP erPage                               = 14;
162              162           
163           va r $iGroups SearchResP erPage                               = 10;   163           va r $iGroups SearchResP erPage                               = 10;
164           va r $iGroups SearchResu lts_dbnum                            = 1;   164           va r $iGroups SearchResu lts_dbnum                            = 1;
165              165           
166           va r $iQSearc hWindowWid th                      = 400;   166           va r $iQSearc hWindowWid th                      = 400;
167           va r $iQSearc hWindowHei ght                     = 400;   167           va r $iQSearc hWindowHei ght                     = 400;
168              168           
169              169           
170           va r $paginat ionDiffere nce                                           = 2; //l ook design .inc.php,  function g enPaginati on   170           va r $paginat ionDiffere nce                                           = 2; //l ook design .inc.php,  function g enPaginati on
171              171           
172              172           
173           va r $iTagsPe rPage                                                             = 50; //nu mber of ta gs show on  index pag e   173           va r $iTagsPe rPage                                                             = 50; //nu mber of ta gs show on  index pag e
174           va r $iTagsMi nFontSize                                                = 10;  / /Minimal f ont size o f tag   174           va r $iTagsMi nFontSize                                                = 10;  / /Minimal f ont size o f tag
175           va r $iTagsMa xFontSize                                                = 30; // Maximal fo nt size of  tag   175           va r $iTagsMa xFontSize                                                = 30; // Maximal fo nt size of  tag
176              176           
177           va r $iRateBi gRatingBar                         = 350; / /width of  rating bar  in rate.p hp   177           va r $iRateBi gRatingBar                         = 350; / /width of  rating bar  in rate.p hp
178           va r $iRateBi gRatingBar Num                     = 2;   / /number of  rating ba r in rate. php   178           va r $iRateBi gRatingBar Num                     = 2;   / /number of  rating ba r in rate. php
179              179           
180           va r $iRateSm allRatingB ar                      = 160; / /width of  small rati ng bar in  rate.php   180           va r $iRateSm allRatingB ar                      = 160; / /width of  small rati ng bar in  rate.php
181           va r $iRateSm allRatingB arNum                   = 1; //n umber of s mall ratin g bar in r ate.php   181           va r $iRateSm allRatingB arNum                   = 1; //n umber of s mall ratin g bar in r ate.php
182              182           
183           va r $sTinyMc eEditorJS;   183           va r $sTinyMc eEditorJS;
184           va r $sCalend arCss;   184           va r $sCalend arCss;
185     185  
186           va r $bFreeMo de, $bEnab leCustomiz ation, $bE nableGalle ry, $bEnab lePoll, $b EnableIm,  $bEnableCo mments, $b EnableGues tbook, $bE nableBlog,  $bAnonymo usMode;   186           va r $bFreeMo de, $bEnab leCustomiz ation, $bE nableGalle ry, $bEnab lePoll, $b EnableIm,  $bEnableCo mments, $b EnableGues tbook, $bE nableBlog,  $bAnonymo usMode;
187              187           
188           va r $customi ze;   188           va r $customi ze;
189              189           
190           fu nction BxB aseConfig( $site)   190           fu nction BxB aseConfig( $site)
191           {   191           {
192                    glob al $enable _blog, $an on_mode;   192                    glob al $enable _blog, $an on_mode;
193     193  
194                    $thi s -> custo mMenu_db_n um                                                  =  $this -> m emberMenu_ db_num;   194                    $thi s -> custo mMenu_db_n um                                                  =  $this -> m emberMenu_ db_num;
195                    $thi s -> admin Menu_db_nu m                                                   =  $this -> m emberMenu_ db_num;   195                    $thi s -> admin Menu_db_nu m                                                   =  $this -> m emberMenu_ db_num;
196                    $thi s -> affMe nu_db_num                                                      =  $this -> m emberMenu_ db_num;   196                    $thi s -> affMe nu_db_num                                                      =  $this -> m emberMenu_ db_num;
197                    $thi s -> visit orMenu_db_ num                                                 =  $this -> m emberMenu_ db_num;   197                    $thi s -> visit orMenu_db_ num                                                 =  $this -> m emberMenu_ db_num;
198                    $thi s -> moder atorMenu_d b_num                                       = $this ->  memberMen u_db_num;   198                    $thi s -> moder atorMenu_d b_num                                       = $this ->  memberMen u_db_num;
199     199  
200                    $thi s -> aSite  = $site;   200                    $thi s -> aSite  = $site;
201     201  
202                    $thi s -> bFree Mode                                                   = getParam ("free_mod e") == 'on ' ? 1 : 0;   202                    $thi s -> bFree Mode                                                   = getParam ("free_mod e") == 'on ' ? 1 : 0;
203                    $thi s -> bEnab leCustomiz ation                     = getP aram('enab le_customi zation') = = 'on' ? 1  : 0;   203                    $thi s -> bEnab leCustomiz ation                     = getP aram('enab le_customi zation') = = 'on' ? 1  : 0;
204                    $thi s -> bEnab leGallery                                     = getPar am('enable _gallery')  == 'on' ?  1 : 0;   204                    $thi s -> bEnab leGallery                                     = getPar am('enable _gallery')  == 'on' ?  1 : 0;
205                    $thi s -> bEnab lePoll                                        = getPar am('enable _poll') ==  'on' ? 1  : 0;   205                    $thi s -> bEnab lePoll                                        = getPar am('enable _poll') ==  'on' ? 1  : 0;
206                    $thi s -> bEnab leIm                                                   = getParam ("enable_i m") == "on " ? 1 : 0;   206                    $thi s -> bEnab leIm                                                   = getParam ("enable_i m") == "on " ? 1 : 0;
207                    $thi s -> bEnab leComments                                    = getPar am("enable _profileCo mments") = = "on" ? 1  : 0;   207                    $thi s -> bEnab leComments                                    = getPar am("enable _profileCo mments") = = "on" ? 1  : 0;
208                    $thi s -> bEnab leBlog                                        = $enabl e_blog;   208                    $thi s -> bEnab leBlog                                        = $enabl e_blog;
209                    $thi s -> bAnon ymousMode                                     = $anon_ mode;   209                    $thi s -> bAnon ymousMode                                     = $anon_ mode;
210     210  
211                    //th eme_advanc ed_disable  : "link,u nlink,inse rtanchor,i mage,subsc ript,super script,hel p,anchor,c ode,styles elect",   211                    //th eme_advanc ed_disable  : "link,u nlink,inse rtanchor,i mage,subsc ript,super script,hel p,anchor,c ode,styles elect",
212                    $thi s -> sTiny MceEditorJ S = '   212                    $thi s -> sTiny MceEditorJ S = '
213           <! -- tinyMCE  gz -->         213           <! -- tinyMCE  gz -->      
214           <s cript type ="text/jav ascript" s rc="' . $s ite['plugi ns'] . 'ti ny_mce/tin y_mce_gzip .js"></scr ipt>   214           <s cript type ="text/jav ascript" s rc="' . $s ite['plugi ns'] . 'ti ny_mce/tin y_mce_gzip .js"></scr ipt>
    215  
215           <s cript type ="text/jav ascript">   216           <s cript type ="text/jav ascript">
    217  
216           ti nyMCE_GZ.i nit({   218                    tiny MCE_GZ.ini t({
217                    plug ins :                                  "sty le,layer,t able,save, advhr,advi mage,advli nk,emotion s,iespell, insertdate time,previ ew,media,s earchrepla ce,print,c ontextmenu ,paste,dir ectionalit y,fullscre en,nonedit able,visua lchars,non breaking,x htmlxtras" ,   219                             plugin s : "style ,layer,tab le,save,ad vhr,advima ge,advlink ,emotions, iespell,in sertdateti me,preview ,media,sea rchreplace ,print,con textmenu,p aste,direc tionality, fullscreen ,noneditab le,visualc hars,nonbr eaking,xht mlxtras",
218                    them es : "simp le,advance d",   220                             themes  : "simple ,advanced" ,
219                    lang uages : "e n",   221                             langua ges : "en" ,
220                    disk _cache : t rue,   222                             disk_c ache : tru e,
221                    debu g : false   223                             debug  : false
222           }) ;   224                    });
223           </ script>   225  
    226                    if ( window.att achEvent)
    227                             window .attachEve nt( "onloa d", InitTi ny );
    228                    else
    229                             window .addEventL istener( " load", Ini tTiny, fal se);
    230  
    231                    func tion InitT iny() {
224           <! -- tinyMCE  -->   232                             <!-- t inyMCE -->
225           <s cript lang uage="java script" ty pe="text/j avascript" >   233  
226           //  Notice: T he simple  theme does  not use a ll options  some of t hem are li mited to t he advance d theme   234                             // Not ice: The s imple them e does not  use all o ptions som e of them  are limite d to the a dvanced th eme
227           ti nyMCE.init ({   235                             tinyMC E.init({
228                    mode  : "textar eas",   236                                      mode : " textareas" ,
229                    them e : "advan ced",   237                                      theme :  "advanced" ,
230                    //co ntent_css  : "' . $si te['css_di r'] . 'edi tor.css",   238                                      //conten t_css : "'  . $site[' css_dir']  . 'editor. css",
231                    edit or_selecto r : "blogT ext|guestb ookTextAre a|story_ed it_area|co mment_text area|class fiedsTextA rea",   239                                      editor_s elector :  "blogText| guestbookT extArea|st ory_edit_a rea|commen t_textarea |classfied sTextArea" ,
232     240  
233     241  
234                    plug ins : "tab le,save,ad vhr,advima ge,advlink ,emotions, iespell,in sertdateti me,preview ,zoom,medi a,searchre place,prin t,contextm enu,paste, directiona lity,fulls creen",   242                                      plugins  : "table,s ave,advhr, advimage,a dvlink,emo tions,iesp ell,insert datetime,p review,zoo m,media,se archreplac e,print,co ntextmenu, paste,dire ctionality ,fullscree n",
235     243  
236                    them e_advanced _buttons1_ add : "fon tselect,fo ntsizesele ct",   244                                      theme_ad vanced_but tons1_add  : "fontsel ect,fontsi zeselect",
237                    them e_advanced _buttons2_ add_before : "cut,cop y,paste,pa stetext,pa steword,im age,separa tor,search ,replace,s eparator",   245                                      theme_ad vanced_but tons2_add_ before: "c ut,copy,pa ste,pastet ext,pastew ord,image, separator, search,rep lace,separ ator",
238                    them e_advanced _buttons2_ add : "sep arator,ins ertdate,in serttime,s eparator,f orecolor,b ackcolor",   246                                      theme_ad vanced_but tons2_add  : "separat or,insertd ate,insert time,separ ator,forec olor,backc olor",
239                    them e_advanced _buttons3_ add : "emo tions",   247                                      theme_ad vanced_but tons3_add  : "emotion s",
240                    them e_advanced _toolbar_l ocation :  "top",   248                                      theme_ad vanced_too lbar_locat ion : "top ",
241                    them e_advanced _toolbar_a lign : "le ft",   249                                      theme_ad vanced_too lbar_align  : "left",
242                    them e_advanced _statusbar _location  : "bottom" ,   250                                      theme_ad vanced_sta tusbar_loc ation : "b ottom",
243     251  
244                    plug i2n_insert date_dateF ormat : "% Y-%m-%d",   252                                      plugi2n_ insertdate _dateForma t : "%Y-%m -%d",
245                plugi2n_ insertdate _timeForma t : "%H:%M :%S",   253                                 pl ugi2n_inse rtdate_tim eFormat :  "%H:%M:%S" ,
246                    past e_use_dial og : false ,   254                                      paste_us e_dialog :  false,
247                    them e_advanced _resizing  : false,   255                                      theme_ad vanced_res izing : fa lse,
248                    them e_advanced _resize_ho rizontal :  false,   256                                      theme_ad vanced_res ize_horizo ntal : fal se,
249                    them e_advanced _link_targ ets : "_so mething=My  somthing; _something 2=My somth ing2;_some thing3=My  somthing3; ",   257                                      theme_ad vanced_lin k_targets  : "_someth ing=My som thing;_som ething2=My  somthing2 ;_somethin g3=My somt hing3;",
250                    past e_auto_cle anup_on_pa ste : true ,   258                                      paste_au to_cleanup _on_paste  : true,
251                    past e_convert_ headers_to _strong :  false,   259                                      paste_co nvert_head ers_to_str ong : fals e,
252                    past e_strip_cl ass_attrib utes : "al l",   260                                      paste_st rip_class_ attributes  : "all",
253                    past e_remove_s pans : fal se,   261                                      paste_re move_spans  : false,
254                    past e_remove_s tyles : fa lse   262                                      paste_re move_style s : false
255     263  
256                    });   264                             });
    265                    }
    266  
257           </ script>   267           </ script>
258           <! -- /tinyMC E -->   268           <! -- /tinyMC E -->
259           ';   269           ';
260              270           
261                    $thi s -> sTiny MceEditorC ompactJS =   271                    $thi s -> sTiny MceEditorC ompactJS =
262   '<!-- tiny MCE gz -->   272   '<!-- tiny MCE gz -->
263   <script ty pe="text/j avascript"  src="' .  $site['plu gins'] . ' tiny_mce/t iny_mce_gz ip.js"></s cript>   273   <script ty pe="text/j avascript"  src="' .  $site['plu gins'] . ' tiny_mce/t iny_mce_gz ip.js"></s cript>
264   <script ty pe="text/j avascript" >   274   <script ty pe="text/j avascript" >
    275  
265           ti nyMCE_GZ.i nit({   276           ti nyMCE_GZ.i nit({
266                    plug ins :                                  "sty le,layer,t able,save, advhr,advi mage,advli nk,emotion s,iespell, insertdate time,previ ew,media,s earchrepla ce,print,c ontextmenu ,paste,dir ectionalit y,fullscre en,nonedit able,visua lchars,non breaking,x htmlxtras" ,   277                    plug ins : "sty le,layer,t able,save, advhr,advi mage,advli nk,emotion s,iespell, insertdate time,previ ew,media,s earchrepla ce,print,c ontextmenu ,paste,dir ectionalit y,fullscre en,nonedit able,visua lchars,non breaking,x htmlxtras" ,
267                    them es : "simp le,advance d",   278                    them es : "simp le,advance d",
268                    lang uages : "e n",   279                    lang uages : "e n",
269                    disk _cache : t rue,   280                    disk _cache : t rue,
270                    debu g : false   281                    debu g : false
271           }) ;   282           }) ;
272   </script>    
273     283  
274   <script la nguage="ja vascript"  type="text /javascrip t">   284           if  (window.a ttachEvent )
    285                    wind ow.attachE vent( "onl oad", Init Tiny );
    286           el se
    287                    wind ow.addEven tListener(  "load", I nitTiny, f alse);
    288  
    289           fu nction Ini tTiny() {
    290  
275           ti nyMCE.init ({   291                    tiny MCE.init({
276                    mode  : "textar eas",   292                             mode :  "textarea s",
277                    them e : "advan ced",   293                             theme  : "advance d",
278                       294                             
279                    edit or_selecto r : "group _edit_html |guestbook TextArea|s tory_edit_ area|comme nt_textare a|classfie dsTextArea |blogText" ,   295                             editor _selector  : "group_e dit_html|g uestbookTe xtArea|sto ry_edit_ar ea|comment _textarea| classfieds TextArea|b logText",
280                       296                             
281                    plug ins : "sty le,layer,t able,save, advhr,advi mage,advli nk,emotion s,iespell, insertdate time,previ ew,zoom,me dia,search replace,pr int,contex tmenu,past e,directio nality,ful lscreen,vi sualchars, nonbreakin g,xhtmlxtr as",   297                             plugin s : "style ,layer,tab le,save,ad vhr,advima ge,advlink ,emotions, iespell,in sertdateti me,preview ,zoom,medi a,searchre place,prin t,contextm enu,paste, directiona lity,fulls creen,visu alchars,no nbreaking, xhtmlxtras ",
282                       298                             
283                    them e_advanced _buttons1  : "bold,it alic,under line,strik ethrough,| ,justifyle ft,justify center,jus tifyright, justifyful l,|,fontse lect,fonts izeselect" ,   299                             theme_ advanced_b uttons1 :  "bold,ital ic,underli ne,striket hrough,|,j ustifyleft ,justifyce nter,justi fyright,ju stifyfull, |,fontsele ct,fontsiz eselect",
284                    them e_advanced _buttons2  : "forecol or,backcol or,|,bulli st,numlist ,|,outdent ,indent,|, link,unlin k,image,hr ,|,sub,sup ,|,insertd ate,insert time,|,sty leprops",   300                             theme_ advanced_b uttons2 :  "forecolor ,backcolor ,|,bullist ,numlist,| ,outdent,i ndent,|,li nk,unlink, image,hr,| ,sub,sup,| ,insertdat e,insertti me,|,style props",
285                    them e_advanced _buttons3  : "charmap ,emotions, |,cite,abb r,acronym, attribs,|, preview,re moveformat ",   301                             theme_ advanced_b uttons3 :  "charmap,e motions,|, cite,abbr, acronym,at tribs,|,pr eview,remo veformat",
286                    them e_advanced _toolbar_l ocation :  "top",   302                             theme_ advanced_t oolbar_loc ation : "t op",
287                    them e_advanced _toolbar_a lign : "ce nter",   303                             theme_ advanced_t oolbar_ali gn : "cent er",
288                    exte nded_valid _elements  : "a[name| href|title ],img[clas s|src|bord er=0|alt|t itle|hspac e|vspace|w idth|heigh t|align|na me],hr[cla ss|width|s ize|noshad e],font[fa ce|size|co lor|style] ,span[clas s|align|st yle]"   304                             extend ed_valid_e lements :  "a[name|hr ef|title], img[class| src|border =0|alt|tit le|hspace| vspace|wid th|height| align|name ],hr[class |width|siz e|noshade] ,font[face |size|colo r|style],s pan[class| align|styl e]"
289           }) ;   305                    });
    306           }
290   </script>' ;   307   </script>' ;
291     308  
292                    $thi s -> sTiny MceEditorM iniJS =   309                    $thi s -> sTiny MceEditorM iniJS =
293   '       <! -- tinyMCE  gz -->         310   '       <! -- tinyMCE  gz -->      
294           <s cript type ="text/jav ascript" s rc="' . $s ite['plugi ns'] . 'ti ny_mce/tin y_mce_gzip .js"></scr ipt>   311           <s cript type ="text/jav ascript" s rc="' . $s ite['plugi ns'] . 'ti ny_mce/tin y_mce_gzip .js"></scr ipt>
295           <s cript type ="text/jav ascript">   312           <s cript type ="text/jav ascript">
296           ti nyMCE_GZ.i nit({   313           ti nyMCE_GZ.i nit({
297                    plug ins :                                  "sty le,layer,t able,save, advhr,advi mage,advli nk,emotion s,iespell, insertdate time,previ ew,media,s earchrepla ce,print,c ontextmenu ,paste,dir ectionalit y,fullscre en,nonedit able,visua lchars,non breaking,x htmlxtras" ,   314                    plug ins : "sty le,layer,t able,save, advhr,advi mage,advli nk,emotion s,iespell, insertdate time,previ ew,media,s earchrepla ce,print,c ontextmenu ,paste,dir ectionalit y,fullscre en,nonedit able,visua lchars,non breaking,x htmlxtras" ,
298                    them es : "simp le,advance d",   315                    them es : "simp le,advance d",
299                    lang uages : "e n",   316                    lang uages : "e n",
300                    disk _cache : t rue,   317                    disk _cache : t rue,
301                    debu g : false   318                    debu g : false
302           }) ;   319           }) ;
303           </ script>   320  
304           <! -- tinyMCE  -->   321           if  (window.a ttachEvent )
305           <s cript lang uage="java script" ty pe="text/j avascript" >   322                    wind ow.attachE vent( "onl oad", Init Tiny );
    323           el se
    324                    wind ow.addEven tListener(  "load", I nitTiny, f alse);
    325  
    326           fu nction Ini tTiny() {
    327  
306           //  Notice: T he simple  theme does  not use a ll options  some of t hem are li mited to t he advance d theme   328                    // N otice: The  simple th eme does n ot use all  options s ome of the m are limi ted to the  advanced  theme
307           ti nyMCE.init ({   329                    tiny MCE.init({
308                    mode  : "textar eas",   330                             mode :  "textarea s",
309                    them e : "advan ced",   331                             theme  : "advance d",
310                    //co ntent_css  : "' . $si te['css_di r'] . 'edi tor.css",   332                             //cont ent_css :  "' . $site ['css_dir' ] . 'edito r.css",
311                    edit or_selecto r : "comme nt_textare a|classfie dsTextArea ",   333                             editor _selector  : "comment _textarea| classfieds TextArea",
312     334  
313     335  
314                    plug ins : "tab le,save,ad vhr,advima ge,advlink ,emotions, iespell,in sertdateti me,preview ,zoom,medi a,searchre place,prin t,contextm enu,paste, directiona lity,fulls creen,visu alchars,no nbreaking, xhtmlxtras ",   336                             plugin s : "table ,save,advh r,advimage ,advlink,e motions,ie spell,inse rtdatetime ,preview,z oom,media, searchrepl ace,print, contextmen u,paste,di rectionali ty,fullscr een,visual chars,nonb reaking,xh tmlxtras",
315     337  
316                    them e_advanced _buttons1  : "bold,it alic,under line,strik ethrough,| ,justifyle ft,justify center,jus tifyright, justifyful l,|,foreco lor,backco lor",   338                             theme_ advanced_b uttons1 :  "bold,ital ic,underli ne,striket hrough,|,j ustifyleft ,justifyce nter,justi fyright,ju stifyfull, |,forecolo r,backcolo r",
317                    them e_advanced _buttons2  : "link,un link,image ,hr,insert date,inser ttime,|,ch armap,emot ions,|,cit e,preview, removeform at",   339                             theme_ advanced_b uttons2 :  "link,unli nk,image,h r,insertda te,insertt ime,|,char map,emotio ns,|,cite, preview,re moveformat ",
318                    them e_advanced _buttons3  : "",   340                             theme_ advanced_b uttons3 :  "",
319                    them e_advanced _toolbar_l ocation :  "top",   341                             theme_ advanced_t oolbar_loc ation : "t op",
320                    them e_advanced _toolbar_a lign : "le ft",   342                             theme_ advanced_t oolbar_ali gn : "left ",
321                    them e_advanced _statusbar _location  : "bottom" ,   343                             theme_ advanced_s tatusbar_l ocation :  "bottom",
322                    them e_advanced _disable :  "insertan chor,image ,help,anch or,code,st yleselect" ,   344                             theme_ advanced_d isable : " insertanch or,image,h elp,anchor ,code,styl eselect",
323                    plug i2n_insert date_dateF ormat : "% Y-%m-%d",   345                             plugi2 n_insertda te_dateFor mat : "%Y- %m-%d",
324                plugi2n_ insertdate _timeForma t : "%H:%M :%S",   346                         plugi2n_in sertdate_t imeFormat  : "%H:%M:% S",
325                    past e_use_dial og : false ,   347                             paste_ use_dialog  : false,
326                    them e_advanced _resizing  : false,   348                             theme_ advanced_r esizing :  false,
327                    them e_advanced _resize_ho rizontal :  false,   349                             theme_ advanced_r esize_hori zontal : f alse,
328                    them e_advanced _link_targ ets : "_so mething=My  somthing; _something 2=My somth ing2;_some thing3=My  somthing3; ",   350                             theme_ advanced_l ink_target s : "_some thing=My s omthing;_s omething2= My somthin g2;_someth ing3=My so mthing3;",
329                    past e_auto_cle anup_on_pa ste : true ,   351                             paste_ auto_clean up_on_past e : true,
330                    past e_convert_ headers_to _strong :  false,   352                             paste_ convert_he aders_to_s trong : fa lse,
331                    past e_strip_cl ass_attrib utes : "al l",   353                             paste_ strip_clas s_attribut es : "all" ,
332                    past e_remove_s pans : fal se,   354                             paste_ remove_spa ns : false ,
333                    past e_remove_s tyles : fa lse   355                             paste_ remove_sty les : fals e
334     356  
335                    });   357                             });
    358                    }
336           </ script>   359           </ script>
337           <! -- /tinyMC E -->   360           <! -- /tinyMC E -->
338           ';   361           ';
339              362           
340                    $thi s -> sCale ndarCss =  '<link rel ="styleshe et" href=" ' . $site[ 'plugins']  . 'calend ar/calenda r_themes/a qua.css" t ype="text/ css" />';   363                    $thi s -> sCale ndarCss =  '<link rel ="styleshe et" href=" ' . $site[ 'plugins']  . 'calend ar/calenda r_themes/a qua.css" t ype="text/ css" />';
341     364  
342     365  
343                    $thi s -> custo mize                    = array( ); //pages  customiza tion array   366                    $thi s -> custo mize                    = array( ); //pages  customiza tion array
344                       367                    
345                    $thi s -> custo mize['medi a_gallery' ]['showMed iaTabs'] =  true;   368                    $thi s -> custo mize['medi a_gallery' ]['showMed iaTabs'] =  true;
346                    $thi s -> custo mize['uplo ad_media'] ['showMedi aTabs']  =  true;   369                    $thi s -> custo mize['uplo ad_media'] ['showMedi aTabs']  =  true;
347                    $thi s -> custo mize['uplo ad_media'] ['showAddB utton']  =  true;   370                    $thi s -> custo mize['uplo ad_media'] ['showAddB utton']  =  true;
348                    $thi s -> custo mize['uplo ad_media'] ['addNewBl ock_displa y'] = 'non e';   371                    $thi s -> custo mize['uplo ad_media'] ['addNewBl ock_displa y'] = 'non e';
349                    $thi s -> custo mize['rate ']['showSe xSelector' ]        =  true;   372                    $thi s -> custo mize['rate ']['showSe xSelector' ]        =  true;
350                    $thi s -> custo mize['rate ']['showPr ofileInfo' ]        =  true;   373                    $thi s -> custo mize['rate ']['showPr ofileInfo' ]        =  true;
351                    $thi s -> custo mize['even ts']['show TopButtons ']       =  true;   374                    $thi s -> custo mize['even ts']['show TopButtons ']       =  true;
352                    $thi s -> custo mize['blog ']['showBr eadCrumbs' ]        =  true;   375                    $thi s -> custo mize['blog ']['showBr eadCrumbs' ]        =  true;
353                    $thi s -> custo mize['blog ']['showEd itLinks']           =  true;   376                    $thi s -> custo mize['blog ']['showEd itLinks']           =  true;
354                       377                    
355                    $thi s -> custo mize['join ']['datepi ckerInit']          =  "   378                    $thi s -> custo mize['join ']['datepi ckerInit']          =  "
356                             $( '.i nput_date'  ).datepic ker({   379                             $( '.i nput_date'  ).datepic ker({
357                                      dateForm at: 'd/m/y y',   380                                      dateForm at: 'd/m/y y',
358                                      yearRang e: '{min_y ear}:{max_ year}',   381                                      yearRang e: '{min_y ear}:{max_ year}',
359                                      mandator y: true,   382                                      mandator y: true,
360                                      closeTex t: 'X',   383                                      closeTex t: 'X',
361                                      defaultD ate: -{dfl _days}   384                                      defaultD ate: -{dfl _days}
362                             });   385                             });
363                             ";   386                             ";
364           }   387           }
365     388  
366   }   389   }
367     390  
368   ?>   391   ?>