\plugins\ajxp.fs\fsActions.xml

1. Files compared

# Location File Last Modified
1 R:\AjaXplorer-2.3.9\plugins\ajxp.fs fsActions.xml Wed Dec 17 12:57:40 2008 UTC
2 Z:\web\ajaxplorer\plugins\ajxp.fs fsActions.xml Thu Jan 29 12:51:29 2009 UTC

2. Comparison detail

1   <?xml vers ion="1.0"  encoding=" UTF-8"?>   1   <?xml vers ion="1.0"  encoding=" UTF-8"?>
2   <driver na me="fs" cl assName="c lass.fsDri ver.php">   2   <driver na me="fs" cl assName="c lass.fsDri ver.php">
3           <a ctions>   3           <a ctions>
4                    <act ion name=" ls" dirDef ault="true ">                         4                    <act ion name=" ls" dirDef ault="true ">                      
5                             <displ ayDefiniti ons>   5                             <displ ayDefiniti ons>
6                                      <display  mode="lis t">   6                                      <display  mode="lis t">
7                                               <column me ssageId="1 " attribut eName="tex t"/>   7                                               <column me ssageId="1 " attribut eName="tex t"/>
8                                               <column me ssageId="2 " attribut eName="fil esize"/>   8                                               <column me ssageId="2 " attribut eName="fil esize"/>
9                                               <column me ssageId="3 " attribut eName="mim estring"/>   9                                               <column me ssageId="3 " attribut eName="mim estring"/>
10                                               <column me ssageId="4 " attribut eName="mod iftime"/>   10                                               <column me ssageId="4 " attribut eName="mod iftime"/>
11                                      </displa y>   11                                      </displa y>
12                             </disp layDefinit ions>   12                             </disp layDefinit ions>
13                             <gui t ext="32" t itle="32"  src="fileo pen.png"   13                             <gui t ext="32" t itle="32"  src="fileo pen.png"
14                                      accessKe y="folder_ access_key ">   14                                      accessKe y="folder_ access_key ">
15                                      <context  selection ="true" di r="" recyc le="false"   15                                      <context  selection ="true" di r="" recyc le="false"
16                                               actionBar= "false" ac tionBarGro up="get" c ontextMenu ="true" in foPanel="t rue">   16                                               actionBar= "false" ac tionBarGro up="get" c ontextMenu ="true" in foPanel="t rue">
17                                      </contex t>   17                                      </contex t>
18                                      <selecti onContext  dir="true"  file="tru e" recycle ="false"   18                                      <selecti onContext  dir="true"  file="tru e" recycle ="false"
19                                               unique="tr ue" allowe dMimes="AJ XP_MIMES_Z IP">   19                                               unique="tr ue" allowe dMimes="AJ XP_MIMES_Z IP">
20                                      </select ionContext >   20                                      </select ionContext >
21                             </gui>   21                             </gui>
22                             <right sContext n oUser="tru e" userLog ged="only"  read="tru e"   22                             <right sContext n oUser="tru e" userLog ged="only"  read="tru e"
23                                      write="f alse" admi nOnly="fal se">   23                                      write="f alse" admi nOnly="fal se">
24                             </righ tsContext>   24                             </righ tsContext>
25                             <proce ssing>   25                             <proce ssing>
26                                      <clientC allback pr epareModal ="true"><! [CDATA[   26                                      <clientC allback pr epareModal ="true"><! [CDATA[
27                                               var path;                                              27                                               var path;                                           
28                                               if(window. actionArgu ments && w indow.acti onArgument s.length>0 ){   28                                               if(window. actionArgu ments && w indow.acti onArgument s.length>0 ){
29                                                       pa th = windo w.actionAr guments[0] ;   29                                                       pa th = windo w.actionAr guments[0] ;
30                                               }else{   30                                               }else{
31                                                       us erSelectio n = ajaxpl orer.getFi lesList(). getUserSel ection();   31                                                       us erSelectio n = ajaxpl orer.getFi lesList(). getUserSel ection();
32                                                       if (userSelec tion && us erSelectio n.isUnique () && (use rSelection .hasDir()  || userSel ection.has Mime(["zip "]))){   32                                                       if (userSelec tion && us erSelectio n.isUnique () && (use rSelection .hasDir()  || userSel ection.has Mime(["zip "]))){
33                                                                path  = userSel ection.get UniqueFile Name();   33                                                                path  = userSel ection.get UniqueFile Name();
34                                                       }   34                                                       }
35                                               }   35                                               }
36                                               if(path){   36                                               if(path){
37                                                       aj axplorer.g etFoldersT ree().goTo DeepPath(p ath);   37                                                       aj axplorer.g etFoldersT ree().goTo DeepPath(p ath);
38                                                       aj axplorer.f ilesList.l oadXmlList (path);   38                                                       aj axplorer.f ilesList.l oadXmlList (path);
39                                                       aj axplorer.g etActionBa r().update LocationBa r(path);   39                                                       aj axplorer.g etActionBa r().update LocationBa r(path);
40                                               }   40                                               }
41                                               ]]></clien tCallback>   41                                               ]]></clien tCallback>
42                                      <serverC allback me thodName=" switchActi on"></serv erCallback >   42                                      <serverC allback me thodName=" switchActi on"></serv erCallback >
43                             </proc essing>   43                             </proc essing>
44                    </ac tion>   44                    </ac tion>
45                    <act ion name=" upload">   45                    <act ion name=" upload">
46                             <gui t ext="27" t itle="27"  src="yast_ backup.png " accessKe y="upload_ access_key " hasAcces sKey="true ">   46                             <gui t ext="27" t itle="27"  src="yast_ backup.png " accessKe y="upload_ access_key " hasAcces sKey="true ">
47                                      <context  selection ="false" d ir="true"  recycle="h idden"   47                                      <context  selection ="false" d ir="true"  recycle="h idden"
48                                               actionBar= "true" con textMenu=" true" info Panel="fal se"   48                                               actionBar= "true" con textMenu=" true" info Panel="fal se"
49                                               actionBarG roup="put"  inZip="fa lse">   49                                               actionBarG roup="put"  inZip="fa lse">
50                                      </contex t></gui>   50                                      </contex t></gui>
51                             <right sContext n oUser="tru e" userLog ged="only"  read="tru e" write=" true" admi nOnly="">< /rightsCon text>   51                             <right sContext n oUser="tru e" userLog ged="only"  read="tru e" write=" true" admi nOnly="">< /rightsCon text>
52                             <proce ssing>   52                             <proce ssing>
53                                      <clientC allback pr epareModal ="true"><! [CDATA[   53                                      <clientC allback pr epareModal ="true"><! [CDATA[
54                                      if(ajaxp lorer.acti onBar.getF lashVersio n() >= 8 & & document .location. href.subst ring(0,5)! ='https')   54                                      if(ajaxp lorer.acti onBar.getF lashVersio n() >= 8 & & document .location. href.subst ring(0,5)! ='https')
55                                      {   55                                      {
56                                               modal.setC loseAction (function( ){   56                                               modal.setC loseAction (function( ){
57                                                       $( 'closeFlas hUploadBox ').disable d=false;   57                                                       $( 'closeFlas hUploadBox ').disable d=false;
58                                               });   58                                               });
59                                               modal.show DialogForm ('Upload',     59                                               modal.show DialogForm ('Upload',  
60                                                                                           'flash_upl oad_form',     60                                                                                           'flash_upl oad_form',  
61                                                                                           null,    61                                                                                           null, 
62                                                                                           function() {   62                                                                                           function() {
63                                                                                                   hi deLightBox ();   63                                                                                                   hi deLightBox ();
64                                                                                                   re turn false ;   64                                                                                                   re turn false ;
65                                                                                           },    65                                                                                           }, 
66                                                                                           null,    66                                                                                           null, 
67                                                                                           true, true );                                 67                                                                                           true, true );                              
68                                      }   68                                      }
69                                      else   69                                      else
70                                      {   70                                      {
71                                               $('hidden_ frames').i nnerHTML =  '<iframe  name="hidd en_iframe"  id="hidde n_iframe"> </iframe>' ;                          71                                               $('hidden_ frames').i nnerHTML =  '<iframe  name="hidd en_iframe"  id="hidde n_iframe"> </iframe>' ;                       
72                                               var onLoad Function =  function( oForm){   72                                               var onLoad Function =  function( oForm){
73                                                       th is.multi_s elector =  new MultiS elector(oF orm, oForm .getElemen tsBySelect or('div.up loadFilesL ist')[0],  '6' );   73                                                       th is.multi_s elector =  new MultiS elector(oF orm, oForm .getElemen tsBySelect or('div.up loadFilesL ist')[0],  '6' );
74                                                       th is.multi_s elector.ad dElement(o Form.getEl ementsBySe lector('.d ialogFocus ')[0]);   74                                                       th is.multi_s elector.ad dElement(o Form.getEl ementsBySe lector('.d ialogFocus ')[0]);
75                                                       va r rep = do cument.cre ateElement ('input');   75                                                       va r rep = do cument.cre ateElement ('input');
76                                                       re p.setAttri bute('type ', 'hidden ');   76                                                       re p.setAttri bute('type ', 'hidden ');
77                                                       re p.setAttri bute('name ', 'dir');   77                                                       re p.setAttri bute('name ', 'dir');
78                                                       re p.setAttri bute('valu e', ajaxpl orer.getFi lesList(). getCurrent Rep());   78                                                       re p.setAttri bute('valu e', ajaxpl orer.getFi lesList(). getCurrent Rep());
79                                                       oF orm.append Child(rep) ;   79                                                       oF orm.append Child(rep) ;
80                                               }.bind(aja xplorer.ac tionBar);   80                                               }.bind(aja xplorer.ac tionBar);
81                                                 81                                              
82                                               modal.setC loseAction (function( ){                                                       82                                               modal.setC loseAction (function( ){                                                    
83                                                       aj axplorer.f ilesList.r eload();   83                                                       aj axplorer.f ilesList.r eload();
84                                               });   84                                               });
85                                               modal.show DialogForm ('Upload',  'original UploadForm ', onLoadF unction, f unction(){ ajaxplorer .actionBar .multi_sel ector.subm itMainForm ();return  false;});   85                                               modal.show DialogForm ('Upload',  'original UploadForm ', onLoadF unction, f unction(){ ajaxplorer .actionBar .multi_sel ector.subm itMainForm ();return  false;});
86                                                 86                                              
87                                      }                                     87                                      }                                  
88                                               ]]></clien tCallback>   88                                               ]]></clien tCallback>
89                                      <clientF orm id="fl ash_upload _form"><![ CDATA[   89                                      <clientF orm id="fl ash_upload _form"><![ CDATA[
90                                               <!-- UPLOA D FORM -->   90                                               <!-- UPLOA D FORM -->
91                                               <form acti on="AJXP_S ERVER_ACCE SS" target ="hidden_i frame" enc type="mult ipart/form -data" met hod="POST"  id="origi nalUploadF orm" style ="text-ali gn:left; d isplay:non e;" box_wi dth="640">   91                                               <form acti on="AJXP_S ERVER_ACCE SS" target ="hidden_i frame" enc type="mult ipart/form -data" met hod="POST"  id="origi nalUploadF orm" style ="text-ali gn:left; d isplay:non e;" box_wi dth="640">
92                                               <legend>AJ XP_MESSAGE [25]<b cla ss="replac e_rep"></b ></legend>   92                                               <legend>AJ XP_MESSAGE [25]<b cla ss="replac e_rep"></b ></legend>
93                                               <br><br>AJ XP_MESSAGE [171]<br>   93                                               <br><br>AJ XP_MESSAGE [171]<br>
94                                               <input typ e="file" n ame="userf ile_1" cla ss="dialog Focus" siz e="30">   94                                               <input typ e="file" n ame="userf ile_1" cla ss="dialog Focus" siz e="30">
95                                               <input typ e="hidden"  name="get _action" v alue="uplo ad">   95                                               <input typ e="hidden"  name="get _action" v alue="uplo ad">
96                                                 96                                              
97                                               <br><br>AJ XP_MESSAGE [172]   97                                               <br><br>AJ XP_MESSAGE [172]
98                                               <div id="u pload_file s_list" cl ass="uploa dFilesList "></div>   98                                               <div id="u pload_file s_list" cl ass="uploa dFilesList "></div>
99                                               </form>   99                                               </form>
100                                                 100                                              
101                                               <!-- MOOTO OLS UPLOAD  FORM -->   101                                               <!-- MOOTO OLS UPLOAD  FORM -->
102                                               <div id="f lash_uploa d_form" bo x_width="4 45">   102                                               <div id="f lash_uploa d_form" bo x_width="4 45">
103                                               <div id="f lashscreen ">   103                                               <div id="f lashscreen ">
104                                               <iframe id ="flashfra me" frameb order="0"  src="AJXP_ SERVER_ACC ESS?get_ac tion=get_t emplate&te mplate_nam e=flash_tp l.html&enc ode=false" ></iframe>   104                                               <iframe id ="flashfra me" frameb order="0"  src="AJXP_ SERVER_ACC ESS?get_ac tion=get_t emplate&te mplate_nam e=flash_tp l.html&enc ode=false" ></iframe>
105                                               </div>   105                                               </div>
106                                               <div class ="dialogBu ttons"><in put type=" button" cl ass="dialo gButton" o nclick="hi deLightBox (true);" v alue="AJXP _MESSAGE[8 6]" id="cl oseFlashUp loadBox">< /div>   106                                               <div class ="dialogBu ttons"><in put type=" button" cl ass="dialo gButton" o nclick="hi deLightBox (true);" v alue="AJXP _MESSAGE[8 6]" id="cl oseFlashUp loadBox">< /div>
107                                               </div>   107                                               </div>
108                                               <script la nguage="ja vascript"> $('origina lUploadFor m').hide() ;</script>   108                                               <script la nguage="ja vascript"> $('origina lUploadFor m').hide() ;</script>
109                                      ]]></cli entForm>   109                                      ]]></cli entForm>
110                                      <serverC allback me thodName=" switchActi on"></serv erCallback >   110                                      <serverC allback me thodName=" switchActi on"></serv erCallback >
111                                      </proces sing>   111                                      </proces sing>
112                    </ac tion>   112                    </ac tion>
113                    <act ion name=" empty_recy cle">   113                    <act ion name=" empty_recy cle">
114                             <gui t ext="220"  title="221 " src="tra shcan_empt y.png" acc essKey="em pty_recycl e_access_k ey" hasAcc essKey="tr ue">   114                             <gui t ext="220"  title="221 " src="tra shcan_empt y.png" acc essKey="em pty_recycl e_access_k ey" hasAcc essKey="tr ue">
115                                      <context  selection ="false" d ir="true"  recycle="o nly" actio nBar="true " contextM enu="true"  infoPanel ="false" a ctionBarGr oup="defau lt"></cont ext>   115                                      <context  selection ="false" d ir="true"  recycle="o nly" actio nBar="true " contextM enu="true"  infoPanel ="false" a ctionBarGr oup="defau lt"></cont ext>
116                             </gui>   116                             </gui>
117                             <right sContext n oUser="tru e" userLog ged="" rea d="true" w rite="true " adminOnl y=""></rig htsContext >   117                             <right sContext n oUser="tru e" userLog ged="" rea d="true" w rite="true " adminOnl y=""></rig htsContext >
118                             <proce ssing>   118                             <proce ssing>
119                                      <clientC allback pr epareModal ="false">< ![CDATA[   119                                      <clientC allback pr epareModal ="false">< ![CDATA[
120                                          ajax plorer.get FilesList( ).selectAl l();   120                                          ajax plorer.get FilesList( ).selectAl l();
121                                          ajax plorer.act ionBar.fir eAction('d elete');   121                                          ajax plorer.act ionBar.fir eAction('d elete');
122                                               ]]></clien tCallback>   122                                               ]]></clien tCallback>
123                                      <serverC allback me thodName=" switchActi on"></serv erCallback >   123                                      <serverC allback me thodName=" switchActi on"></serv erCallback >
124                                      </proces sing>   124                                      </proces sing>
125                    </ac tion>   125                    </ac tion>
126                    <act ion name=" mkdir">                        126                    <act ion name=" mkdir">                     
127                             <gui t ext="154"  title="155 " src="fol der_new.pn g" accessK ey="folder _access_ke y" hasAcce ssKey="tru e">   127                             <gui t ext="154"  title="155 " src="fol der_new.pn g" accessK ey="folder _access_ke y" hasAcce ssKey="tru e">
128                                      <context  selection ="false" d ir="true"  recycle="h idden" act ionBar="tr ue" contex tMenu="tru e" infoPan el="false"  actionBar Group="put " inZip="f alse"></co ntext>   128                                      <context  selection ="false" d ir="true"  recycle="h idden" act ionBar="tr ue" contex tMenu="tru e" infoPan el="false"  actionBar Group="put " inZip="f alse"></co ntext>
129                             </gui>   129                             </gui>
130                             <right sContext n oUser="tru e" userLog ged="only"  read="tru e" write=" true" admi nOnly="">< /rightsCon text>   130                             <right sContext n oUser="tru e" userLog ged="only"  read="tru e" write=" true" admi nOnly="">< /rightsCon text>
131                             <proce ssing>   131                             <proce ssing>
132                                      <clientC allback pr epareModal ="true"><! [CDATA[                                          132                                      <clientC allback pr epareModal ="true"><! [CDATA[                                       
133                                               modal.show DialogForm ('Create',  'mkdir_fo rm', null,  function( ){   133                                               modal.show DialogForm ('Create',  'mkdir_fo rm', null,  function( ){
134                                                       va r oForm =  $(modal.ge tForm());    134                                                       va r oForm =  $(modal.ge tForm()); 
135                                                       va r elementT oCheck=(oF orm['dirna me']);   135                                                       va r elementT oCheck=(oF orm['dirna me']);
136                                                       if (ajaxplore r.getFiles List().fil eNameExist s($(elemen tToCheck). getValue() ))   136                                                       if (ajaxplore r.getFiles List().fil eNameExist s($(elemen tToCheck). getValue() ))
137                                                       {   137                                                       {
138                                                                aler t(MessageH ash[125]);   138                                                                aler t(MessageH ash[125]);
139                                                                retu rn false;   139                                                                retu rn false;
140                                                       }   140                                                       }
141                                                       aj axplorer.a ctionBar.s ubmitForm( oForm);                               141                                                       aj axplorer.a ctionBar.s ubmitForm( oForm);                            
142                                                       hi deLightBox (true);   142                                                       hi deLightBox (true);
143                                                       re turn false ;   143                                                       re turn false ;
144                                               });   144                                               });
145                                               ]]></clien tCallback>   145                                               ]]></clien tCallback>
146                                      <clientF orm id="mk dir_form"> <![CDATA[   146                                      <clientF orm id="mk dir_form"> <![CDATA[
147                                      <div id= "mkdir_for m" action= "mkdir" bo x_width="2 80">   147                                      <div id= "mkdir_for m" action= "mkdir" bo x_width="2 80">
148                                      AJXP_MES SAGE[173]< br/>   148                                      AJXP_MES SAGE[173]< br/>
149                                      <input t ype="text"  name="dir name" size ="30" clas s="dialogF ocus">   149                                      <input t ype="text"  name="dir name" size ="30" clas s="dialogF ocus">
150                                      </div>   150                                      </div>
151                                      ]]></cli entForm>   151                                      ]]></cli entForm>
152                                      <serverC allback me thodName=" switchActi on"></serv erCallback >   152                                      <serverC allback me thodName=" switchActi on"></serv erCallback >
153                                      </proces sing>   153                                      </proces sing>
154                    </ac tion>   154                    </ac tion>
155                    <act ion name=" mkfile">   155                    <act ion name=" mkfile">
156                             <gui t ext="156"  title="157 " src="fil enew.png"  accessKey= "file_acce ss_key" ha sAccessKey ="true">   156                             <gui t ext="156"  title="157 " src="fil enew.png"  accessKey= "file_acce ss_key" ha sAccessKey ="true">
157                                      <context  selection ="false" d ir="true"  recycle="h idden"   157                                      <context  selection ="false" d ir="true"  recycle="h idden"
158                                               actionBar= "true" con textMenu=" true" info Panel="fal se"   158                                               actionBar= "true" con textMenu=" true" info Panel="fal se"
159                                               actionBarG roup="put"  inZip="fa lse">   159                                               actionBarG roup="put"  inZip="fa lse">
160                                      </contex t></gui>   160                                      </contex t></gui>
161                             <right sContext n oUser="tru e" userLog ged="only"  read="tru e" write=" true" admi nOnly="">< /rightsCon text>   161                             <right sContext n oUser="tru e" userLog ged="only"  read="tru e" write=" true" admi nOnly="">< /rightsCon text>
162                             <proce ssing>   162                             <proce ssing>
163                                      <clientC allback pr epareModal ="true"><! [CDATA[   163                                      <clientC allback pr epareModal ="true"><! [CDATA[
164                                               modal.show DialogForm ('Create',  'mkfile_f orm', null , function (){   164                                               modal.show DialogForm ('Create',  'mkfile_f orm', null , function (){
165                                                       va r oForm =  $(modal.ge tForm());    165                                                       va r oForm =  $(modal.ge tForm()); 
166                                                       va r elementT oCheck=(oF orm['filen ame']);   166                                                       va r elementT oCheck=(oF orm['filen ame']);
167                                                       if (ajaxplore r.getFiles List().fil eNameExist s($(elemen tToCheck). getValue() ))   167                                                       if (ajaxplore r.getFiles List().fil eNameExist s($(elemen tToCheck). getValue() ))
168                                                       {   168                                                       {
169                                                                aler t(MessageH ash[125]);   169                                                                aler t(MessageH ash[125]);
170                                                                retu rn false;   170                                                                retu rn false;
171                                                       }   171                                                       }
172                                                       aj axplorer.a ctionBar.s ubmitForm( oForm);                               172                                                       aj axplorer.a ctionBar.s ubmitForm( oForm);                            
173                                                       hi deLightBox (true);   173                                                       hi deLightBox (true);
174                                                       re turn false ;   174                                                       re turn false ;
175                                               });   175                                               });
176                                               ]]></clien tCallback>   176                                               ]]></clien tCallback>
177                                      <clientF orm id="mk file_form" ><![CDATA[   177                                      <clientF orm id="mk file_form" ><![CDATA[
178   <div id="m kfile_form " action=" mkfile" bo x_width="2 80">   178   <div id="m kfile_form " action=" mkfile" bo x_width="2 80">
179   AJXP_MESSA GE[174]<br />   179   AJXP_MESSA GE[174]<br />
180   <input typ e="text" n ame="filen ame" size= "30" class ="dialogFo cus">   180   <input typ e="text" n ame="filen ame" size= "30" class ="dialogFo cus">
181   </div>                             ]]></cli entForm>   181   </div>                             ]]></cli entForm>
182                                      <serverC allback me thodName=" switchActi on"></serv erCallback >   182                                      <serverC allback me thodName=" switchActi on"></serv erCallback >
183                                      </proces sing>   183                                      </proces sing>
184                    </ac tion>   184                    </ac tion>
185                    <act ion name=" download"  fileDefaul t="true">   185                    <act ion name=" download"  fileDefaul t="true">
186                             <gui t ext="88" t itle="88"  src="downl oad_manage r.png" acc essKey="do wnload_acc ess_key" h asAccessKe y="true">   186                             <gui t ext="88" t itle="88"  src="downl oad_manage r.png" acc essKey="do wnload_acc ess_key" h asAccessKe y="true">
187                                      <context  selection ="true" di r="" recyc le="false"   187                                      <context  selection ="true" di r="" recyc le="false"
188                                               actionBar= "true" con textMenu=" true" info Panel="tru e"   188                                               actionBar= "true" con textMenu=" true" info Panel="tru e"
189                                               actionBarG roup="get" >   189                                               actionBarG roup="get" >
190                                      </contex t>   190                                      </contex t>
191                                      <selecti onContext  dir="true"  file="tru e" recycle ="false" u nique="fal se"></sele ctionConte xt></gui>   191                                      <selecti onContext  dir="true"  file="tru e" recycle ="false" u nique="fal se"></sele ctionConte xt></gui>
192                             <right sContext n oUser="tru e" userLog ged="only"  read="tru e" write=" false" adm inOnly=""> </rightsCo ntext>   192                             <right sContext n oUser="tru e" userLog ged="only"  read="tru e" write=" false" adm inOnly=""> </rightsCo ntext>
193                             <proce ssing>   193                             <proce ssing>
194                                      <clientC allback pr epareModal ="true"><! [CDATA[   194                                      <clientC allback pr epareModal ="true"><! [CDATA[
195                                               var userSe lection =  ajaxplorer .getFilesL ist().getU serSelecti on();   195                                               var userSe lection =  ajaxplorer .getFilesL ist().getU serSelecti on();
196                                               if(userSel ection.isU nique() &&  !userSele ction.hasD ir())   196                                               if(userSel ection.isU nique() &&  !userSele ction.hasD ir())
197                                               {   197                                               {
198                                                       va r download Url = ajxp ServerAcce ssPath+'?a ction=down load';   198                                                       va r download Url = ajxp ServerAcce ssPath+'?a ction=down load';
199                                                       do wnloadUrl  = userSele ction.upda teFormOrUr l(null,dow nloadUrl);   199                                                       do wnloadUrl  = userSele ction.upda teFormOrUr l(null,dow nloadUrl);
200                                                       do cument.loc ation.href  = 
downloadUr l
;
  200                                                       do cument.loc ation.href  =  encodeURI( downloadUr l ) ;
201                                                          201                                                       
202                                               }   202                                               }
203                                               else   203                                               else
204                                               {   204                                               {
205                                                       if (!zipEnabl ed){   205                                                       if (!zipEnabl ed){
206                                                                var  loadFunc =  function( oForm){   206                                                                var  loadFunc =  function( oForm){
207                                                                         var dO bject = oF orm.getEle mentsBySel ector('div [id="multi ple_downlo ad_contain er"]')[0];   207                                                                         var dO bject = oF orm.getEle mentsBySel ector('div [id="multi ple_downlo ad_contain er"]')[0];
208                                                                         var do wnloader =  new Multi Downloader (dObject,  ajxpServer AccessPath +'?action= download&f ile=');   208                                                                         var do wnloader =  new Multi Downloader (dObject,  ajxpServer AccessPath +'?action= download&f ile=');
209                                                                         downlo ader.trigg erEnd = fu nction(){h ideLightBo x()};   209                                                                         downlo ader.trigg erEnd = fu nction(){h ideLightBo x()};
210                                                                         fileNa mes = user Selection. getFileNam es();   210                                                                         fileNa mes = user Selection. getFileNam es();
211                                                                         for(va r i=0; i<f ileNames.l ength;i++)   211                                                                         for(va r i=0; i<f ileNames.l ength;i++)
212                                                                         {   212                                                                         {
213                                                                                  download er.addList Row(fileNa mes[i]);   213                                                                                  download er.addList Row(fileNa mes[i]);
214                                                                         }                                     214                                                                         }                                  
215                                                                };   215                                                                };
216                                                                var  closeFunc  = function (){   216                                                                var  closeFunc  = function (){
217                                                                         hideLi ghtBox();   217                                                                         hideLi ghtBox();
218                                                                         return  false;   218                                                                         return  false;
219                                                                };   219                                                                };
220                                                                moda l.showDial ogForm('Do wnload Mul tiple', 'm ulti_downl oad_form',  loadFunc,  closeFunc , null, tr ue);   220                                                                moda l.showDial ogForm('Do wnload Mul tiple', 'm ulti_downl oad_form',  loadFunc,  closeFunc , null, tr ue);
221                                                       }e lse{   221                                                       }e lse{
222                                                                var  downloadUr l = ajxpSe rverAccess Path+'?act ion=downlo ad';   222                                                                var  downloadUr l = ajxpSe rverAccess Path+'?act ion=downlo ad';
223                                                                down loadUrl =  userSelect ion.update FormOrUrl( null,downl oadUrl);   223                                                                down loadUrl =  userSelect ion.update FormOrUrl( null,downl oadUrl);
224                                                                docu ment.locat ion.href =  
downloadUr l
;                                                         
  224                                                                docu ment.locat ion.href =   encodeURI( downloadUr l ) ;
225                                                       }   225                                                       }
226                                               }   226                                               }
227                                               ]]></clien tCallback>   227                                               ]]></clien tCallback>
228                                               <clientFor m id="mult i_download _form"><![ CDATA[   228                                               <clientFor m id="mult i_download _form"><![ CDATA[
229                                               <div id="m ulti_downl oad_form"  title="AJX P_MESSAGE[ 118]"  box _width="41 0">   229                                               <div id="m ulti_downl oad_form"  title="AJX P_MESSAGE[ 118]"  box _width="41 0">
230                                               <div class ="dialogLe gend">AJXP _MESSAGE[1 19]</div>< br/>   230                                               <div class ="dialogLe gend">AJXP _MESSAGE[1 19]</div>< br/>
231                                               <div id="m ultiple_do wnload_con tainer"></ div>   231                                               <div id="m ultiple_do wnload_con tainer"></ div>
232                                               </div>]]>   232                                               </div>]]>
233                                               </clientFo rm>   233                                               </clientFo rm>
234                                               <clientLis tener name ="selectio nChange">< ![CDATA[   234                                               <clientLis tener name ="selectio nChange">< ![CDATA[
235                                               if(ajaxplo rer){   235                                               if(ajaxplo rer){
236                                                       va r userSele ction = aj axplorer.g etFilesLis t().getUse rSelection ();   236                                                       va r userSele ction = aj axplorer.g etFilesLis t().getUse rSelection ();
237                                                       va r action =  ajaxplore r.getActio nBar().get ActionByNa me("downlo ad");   237                                                       va r action =  ajaxplore r.getActio nBar().get ActionByNa me("downlo ad");
238                                                       if (zipEnable d){   238                                                       if (zipEnable d){
239                                                                if(a ction){   239                                                                if(a ction){
240                                                                         if((us erSelectio n.isUnique () && !use rSelection .hasDir())  || userSe lection.is Empty()){   240                                                                         if((us erSelectio n.isUnique () && !use rSelection .hasDir())  || userSe lection.is Empty()){
241                                                                                  action.s etIconSrc( 'download_ manager.pn g');   241                                                                                  action.s etIconSrc( 'download_ manager.pn g');
242                                                                         }else{   242                                                                         }else{
243                                                                                  action.s etIconSrc( 'accessori es-archive r.png');   243                                                                                  action.s etIconSrc( 'accessori es-archive r.png');
244                                                                         }   244                                                                         }
245                                                                }   245                                                                }
246                                                       }e lse{   246                                                       }e lse{
247                                                                if(u serSelecti on.hasDir( ) && actio n){   247                                                                if(u serSelecti on.hasDir( ) && actio n){
248                                                                         action .selection Context.di r = false;   248                                                                         action .selection Context.di r = false;
249                                                                }   249                                                                }
250                                                       }   250                                                       }
251                                               }   251                                               }
252                                               ]]></clien tListener>   252                                               ]]></clien tListener>
253                                      <serverC allback me thodName=" switchActi on"></serv erCallback >   253                                      <serverC allback me thodName=" switchActi on"></serv erCallback >
254                                      </proces sing>   254                                      </proces sing>
255                    </ac tion>   255                    </ac tion>
256                    <act ion name=" edit">   256                    <act ion name=" edit">
257                             <gui t ext="51" t itle="162"  src="edit .png" acce ssKey="edi t_access_k ey" hasAcc essKey="tr ue">   257                             <gui t ext="51" t itle="162"  src="edit .png" acce ssKey="edi t_access_k ey" hasAcc essKey="tr ue">
258                                      <context  selection ="true" di r="" recyc le="hidden "  behavio ur="hidden "   258                                      <context  selection ="true" di r="" recyc le="hidden "  behavio ur="hidden "
259                                               actionBar= "true" con textMenu=" true" info Panel="tru e"   259                                               actionBar= "true" con textMenu=" true" info Panel="tru e"
260                                               actionBarG roup="get"  inZip="fa lse">   260                                               actionBarG roup="get"  inZip="fa lse">
261                                      </contex t>   261                                      </contex t>
262                                      <selecti onContext  dir="false " file="tr ue" recycl e="false"  unique="tr ue" allowe dMimes="AJ XP_MIMES_E DITABLE" b ehaviour=" hidden"></ selectionC ontext></g ui>   262                                      <selecti onContext  dir="false " file="tr ue" recycl e="false"  unique="tr ue" allowe dMimes="AJ XP_MIMES_E DITABLE" b ehaviour=" hidden"></ selectionC ontext></g ui>
263                             <right sContext n oUser="tru e" userLog ged="only"  read="tru e" write=" true" admi nOnly="">< /rightsCon text>   263                             <right sContext n oUser="tru e" userLog ged="only"  read="tru e" write=" true" admi nOnly="">< /rightsCon text>
264                             <proce ssing>   264                             <proce ssing>
265                                      <clientC allback pr epareModal ="true"><! [CDATA[   265                                      <clientC allback pr epareModal ="true"><! [CDATA[
266                                               var userSe lection =   ajaxplore r.getFiles List().get UserSelect ion();   266                                               var userSe lection =   ajaxplore r.getFiles List().get UserSelect ion();
267                                               var sTitle  = Message Hash[187]+ userSelect ion.getUni queFileNam e();                                                        267                                               var sTitle  = Message Hash[187]+ userSelect ion.getUni queFileNam e();                                                     
268                                               var loadFu nc = funct ion(oForm) {   268                                               var loadFu nc = funct ion(oForm) {
269                                                       aj axplorer.f ilesList.g etUserSele ction().up dateFormOr Url(oForm) ;   269                                                       aj axplorer.f ilesList.g etUserSele ction().up dateFormOr Url(oForm) ;
270                                                       aj axplorer.a ctionBar.e ditor = ne w Editor(o Form);   270                                                       aj axplorer.a ctionBar.e ditor = ne w Editor(o Form);
271                                                       aj axplorer.a ctionBar.e ditor.crea teEditor(u serSelecti on.getUniq ueFileName ());   271                                                       aj axplorer.a ctionBar.e ditor.crea teEditor(u serSelecti on.getUniq ueFileName ());
272                                                       aj axplorer.a ctionBar.e ditor.load File(userS election.g etUniqueFi leName());   272                                                       aj axplorer.a ctionBar.e ditor.load File(userS election.g etUniqueFi leName());
273                                               };   273                                               };
274                                               modal.show DialogForm ('Edit Onl ine', 'edi t_box', lo adFunc, nu ll, null,  true, true );   274                                               modal.show DialogForm ('Edit Onl ine', 'edi t_box', lo adFunc, nu ll, null,  true, true );
275                                               ]]></clien tCallback>   275                                               ]]></clien tCallback>
276                                      <clientF orm id="ed it_box"><! [CDATA[   276                                      <clientF orm id="ed it_box"><! [CDATA[
277                                               <div id="e dit_box" a ction="edi ter" box_w idth="80%"  box_heigh t="90%">   277                                               <div id="e dit_box" a ction="edi ter" box_w idth="80%"  box_heigh t="90%">
278                                                       <d iv class=" action_bar ">   278                                                       <d iv class=" action_bar ">
279                                                                <a h ref="#" on click="ret urn false; " id="clos eButton">< img src="A JXP_CLIENT _RESOURCES _FOLDER/im ages/cryst al/actions /22/filecl ose.png"   width="22"  height="2 2" alt=""  border="0" ><br><span  message_i d="86">AJX P_MESSAGE[ 86]</span> </a>   279                                                                <a h ref="#" on click="ret urn false; " id="clos eButton">< img src="A JXP_CLIENT _RESOURCES _FOLDER/im ages/cryst al/actions /22/filecl ose.png"   width="22"  height="2 2" alt=""  border="0" ><br><span  message_i d="86">AJX P_MESSAGE[ 86]</span> </a>
280                                                                <a h ref="#" on click="ret urn false; " id="fsBu tton"><img  src="AJXP _CLIENT_RE SOURCES_FO LDER/image s/crystal/ actions/22 /window_fu llscreen.p ng"  width ="22" heig ht="22" al t="" borde r="0"><br> <span mess age_id="23 5">AJXP_ME SSAGE[235] </span></a >   280                                                                <a h ref="#" on click="ret urn false; " id="fsBu tton"><img  src="AJXP _CLIENT_RE SOURCES_FO LDER/image s/crystal/ actions/22 /window_fu llscreen.p ng"  width ="22" heig ht="22" al t="" borde r="0"><br> <span mess age_id="23 5">AJXP_ME SSAGE[235] </span></a >
281                                                                <a h ref="#" on click="ret urn false; " id="nofs Button" st yle="displ ay:none;"> <img src=" AJXP_CLIEN T_RESOURCE S_FOLDER/i mages/crys tal/action s/22/windo w_nofullsc reen.png"   width="22 " height=" 22" alt=""  border="0 "><br><spa n message_ id="236">A JXP_MESSAG E[236]</sp an></a>   281                                                                <a h ref="#" on click="ret urn false; " id="nofs Button" st yle="displ ay:none;"> <img src=" AJXP_CLIEN T_RESOURCE S_FOLDER/i mages/crys tal/action s/22/windo w_nofullsc reen.png"   width="22 " height=" 22" alt=""  border="0 "><br><spa n message_ id="236">A JXP_MESSAG E[236]</sp an></a>
282                                                                <div  class="se parator">< /div>                                                           282                                                                <div  class="se parator">< /div>                                                        
283                                                                <a h ref="#" on click="ret urn false; " id="save Button" on click="sav eForm();re turn false ;"><img sr c="AJXP_CL IENT_RESOU RCES_FOLDE R/images/c rystal/act ions/22/fi lesave.png " width="2 2" height= "22" alt=" AJXP_MESSA GE[53]" bo rder="0">< br><span m essage_id= "53">AJXP_ MESSAGE[53 ]</span></ a>   283                                                                <a h ref="#" on click="ret urn false; " id="save Button" on click="sav eForm();re turn false ;"><img sr c="AJXP_CL IENT_RESOU RCES_FOLDE R/images/c rystal/act ions/22/fi lesave.png " width="2 2" height= "22" alt=" AJXP_MESSA GE[53]" bo rder="0">< br><span m essage_id= "53">AJXP_ MESSAGE[53 ]</span></ a>
284                                                                <a h ref="#" on click="ret urn false; " id="down loadFileBu tton"><img  width="22 " height=" 22" src="A JXP_CLIENT _RESOURCES _FOLDER/im ages/cryst al/actions /22/downlo ad_manager .png" alt= "AJXP_MESS AGE[88]" b order="0"> <br><span  message_id ="88">AJXP _MESSAGE[8 8]</span>< /a>   284                                                                <a h ref="#" on click="ret urn false; " id="down loadFileBu tton"><img  width="22 " height=" 22" src="A JXP_CLIENT _RESOURCES _FOLDER/im ages/cryst al/actions /22/downlo ad_manager .png" alt= "AJXP_MESS AGE[88]" b order="0"> <br><span  message_id ="88">AJXP _MESSAGE[8 8]</span>< /a>
285                                                       </ div>   285                                                       </ div>
286                                                       <i nput type= "hidden" n ame="file"  value="">   286                                                       <i nput type= "hidden" n ame="file"  value="">
287                                                       <i nput type= "hidden" n ame="dir"  value="">   287                                                       <i nput type= "hidden" n ame="dir"  value="">
288                                                       <i nput type= "hidden" n ame="save"  value="1" >   288                                                       <i nput type= "hidden" n ame="save"  value="1" >
289                                               </div>                                289                                               </div>                             
290                                      ]]></cli entForm>   290                                      ]]></cli entForm>
291                                      <serverC allback me thodName=" switchActi on"></serv erCallback >   291                                      <serverC allback me thodName=" switchActi on"></serv erCallback >
292                                      </proces sing>   292                                      </proces sing>
293                    </ac tion>   293                    </ac tion>
294                    <act ion name=" view">   294                    <act ion name=" view">
295                             <gui t ext="129"  title="136 " src="fra me_image.p ng" access Key="view_ access_key " hasAcces sKey="true ">   295                             <gui t ext="129"  title="136 " src="fra me_image.p ng" access Key="view_ access_key " hasAcces sKey="true ">
296                                      <context  selection ="true" di r="" recyc le="hidden "   296                                      <context  selection ="true" di r="" recyc le="hidden "
297                                               actionBar= "true" con textMenu=" true" info Panel="tru e"   297                                               actionBar= "true" con textMenu=" true" info Panel="tru e"
298                                               actionBarG roup="get" >   298                                               actionBarG roup="get" >
299                                      </contex t>   299                                      </contex t>
300                                      <selecti onContext  dir="false " file="tr ue" recycl e="false"  unique="tr ue" allowe dMimes="AJ XP_MIMES_I MAGE" beha viour="hid den"></sel ectionCont ext></gui>   300                                      <selecti onContext  dir="false " file="tr ue" recycl e="false"  unique="tr ue" allowe dMimes="AJ XP_MIMES_I MAGE" beha viour="hid den"></sel ectionCont ext></gui>
301                             <right sContext n oUser="tru e" userLog ged="only"  read="tru e" write=" false" adm inOnly=""> </rightsCo ntext>   301                             <right sContext n oUser="tru e" userLog ged="only"  read="tru e" write=" false" adm inOnly=""> </rightsCo ntext>
302                             <proce ssing>   302                             <proce ssing>
303                                      <clientC allback pr epareModal ="true"><! [CDATA[   303                                      <clientC allback pr epareModal ="true"><! [CDATA[
304                                               var userSe lection =   ajaxplore r.getFiles List().get UserSelect ion();   304                                               var userSe lection =   ajaxplore r.getFiles List().get UserSelect ion();
305                                                       va r loadFunc  = functio n(oForm){   305                                                       va r loadFunc  = functio n(oForm){
306                                                                ajax plorer.act ionBar.dia porama = n ew Diapora ma($(oForm ));   306                                                                ajax plorer.act ionBar.dia porama = n ew Diapora ma($(oForm ));
        307  
        308                                                                for  (var i=0;  i<ajaxplor er.getFile sList().ge tItems().l ength; i++ )
        309                                                                {
        310                                                                         var  r owItem = a jaxplorer. getFilesLi st().getIt ems()[i];
        311                                                                         if(row Item.getAt tribute('i s_image')= ='1')
        312                                                                                  rowItem. setAttribu te('filena me', encod eURI(rowIt em.getAttr ibute('fil ename')));
        313                                                                }
        314  
        315                                                                ajax plorer.act ionBar.dia porama.clo se =  func tion()
        316                                                                                                                                                        {
        317                                                                                                                                                                 for (v ar i=0; i< ajaxplorer .getFilesL ist().getI tems().len gth; i++)
        318                                                                                                                                                                 {
        319                                                                                                                                                                          var  row Item = aja xplorer.ge tFilesList ().getItem s()[i];
        320                                                                                                                                                                          if(rowIt em.getAttr ibute('is_ image')==' 1')
        321                                                                                                                                                                                   rowItem.se tAttribute ('filename ', decodeU RI(rowItem .getAttrib ute('filen ame')));
        322                                                                                                                                                                 }
        323  
        324                                                                                                                                                                 this.c urrentFile  = null;
        325                                                                                                                                                                 this.i tems = nul l;
        326                                                                                                                                                                 this.i mgTag.src  = '';
        327                                                                                                                                                                 this.s top();
        328                                                                                                                                                                 if(thi s.fullscre enMode) th is.exitFul lScreen();
        329                                                                                                                                                        };
        330  
        331                                                                ajax plorer.act ionBar.dia porama.upd ateModalTi tle =        function ()
        332                                                                                                                                                                                   {
        333                                                                                                                                                                                                    var  titleDiv =  $(modal.d ialogTitle );
        334                                                                                                                                                                                                    var  crtTitle =  titleDiv. select('sp an.titleSt ring')[0];
        335                                                                                                                                                                                                    var  filenameSp ans = crtT itle.selec t('span');
        336                                                                                                                                                                                                    var  text = ' -  '+getBase Name(decod eURI(this. currentFil e)) + ' (' +this.size s.get(this .currentFi le).width+ ' X '+this .sizes.get (this.curr entFile).h eight+')';
        337                                                                                                                                                                                                    if(f ilenameSpa ns.length)  filenameS pans[0].in nerHTML =  text;
        338                                                                                                                                                                                                    else  {
        339                                                                                                                                                                                                             newSpa n = docume nt.createE lement('sp an');
        340                                                                                                                                                                                                             newSpa n.appendCh ild(docume nt.createT extNode(te xt));
        341                                                                                                                                                                                                             crtTit le.appendC hild(newSp an);
        342                                                                                                                                                                                                    }
        343                                                                                                                                                                                   };
        344  
307                                                                ajax plorer.act ionBar.dia porama.ope n(ajaxplor er.getFile sList().ge tItems(),  userSelect ion.getUni queFileNam e());   345                                                                ajax plorer.act ionBar.dia porama.ope n(ajaxplor er.getFile sList().ge tItems(),  userSelect ion.getUni queFileNam e());
308                                                       };   346                                                       };
309                                                       va r closeFun c = functi on(){   347                                                       va r closeFun c = functi on(){
310                                                                ajax plorer.act ionBar.dia porama.clo se();   348                                                                ajax plorer.act ionBar.dia porama.clo se();
311                                                                hide LightBox() ;   349                                                                hide LightBox() ;
312                                                                retu rn false;   350                                                                retu rn false;
313                                                       };   351                                                       };
314                                                       mo dal.showDi alogForm(' Diaporama' , 'diapora ma_box', l oadFunc, c loseFunc,  null, true , true);   352                                                       mo dal.showDi alogForm(' Diaporama' , 'diapora ma_box', l oadFunc, c loseFunc,  null, true , true);
315                                               ]]></clien tCallback>   353                                               ]]></clien tCallback>
316                                      <clientF orm id="di aporama_bo x"><![CDAT A[   354                                      <clientF orm id="di aporama_bo x"><![CDAT A[
317                                      <div id= "diaporama _box" acti on="view_d iapo" box_ width="90% " box_heig ht="90%">   355                                      <div id= "diaporama _box" acti on="view_d iapo" box_ width="90% " box_heig ht="90%">
318                                               <div class ="action_b ar" style= "width: 50 0px;">   356                                               <div class ="action_b ar" style= "width: 50 0px;">
319                                                       <a  href="#"  onclick="r eturn fals e;" id="cl oseButton" ><img src= "AJXP_CLIE NT_RESOURC ES_FOLDER/ images/cry stal/actio ns/22/file close.png"   width="2 2" height= "22" alt=" " border=" 0"><br><sp an message _id="86">A JXP_MESSAG E[86]</spa n></a>   357                                                       <a  href="#"  onclick="r eturn fals e;" id="cl oseButton" ><img src= "AJXP_CLIE NT_RESOURC ES_FOLDER/ images/cry stal/actio ns/22/file close.png"   width="2 2" height= "22" alt=" " border=" 0"><br><sp an message _id="86">A JXP_MESSAG E[86]</spa n></a>
320                                                       <a  href="#"  onclick="r eturn fals e;" id="fs Button"><i mg src="AJ XP_CLIENT_ RESOURCES_ FOLDER/ima ges/crysta l/actions/ 22/window_ fullscreen .png"  wid th="22" he ight="22"  alt="" bor der="0"><b r><span me ssage_id=" 235">AJXP_ MESSAGE[23 5]</span>< /a>   358                                                       <a  href="#"  onclick="r eturn fals e;" id="fs Button"><i mg src="AJ XP_CLIENT_ RESOURCES_ FOLDER/ima ges/crysta l/actions/ 22/window_ fullscreen .png"  wid th="22" he ight="22"  alt="" bor der="0"><b r><span me ssage_id=" 235">AJXP_ MESSAGE[23 5]</span>< /a>
321                                                       <a  href="#"  onclick="r eturn fals e;" id="no fsButton"  style="dis play:none; "><img src ="AJXP_CLI ENT_RESOUR CES_FOLDER /images/cr ystal/acti ons/22/win dow_nofull screen.png "  width=" 22" height ="22" alt= "" border= "0"><br><s pan messag e_id="236" >AJXP_MESS AGE[236]</ span></a>   359                                                       <a  href="#"  onclick="r eturn fals e;" id="no fsButton"  style="dis play:none; "><img src ="AJXP_CLI ENT_RESOUR CES_FOLDER /images/cr ystal/acti ons/22/win dow_nofull screen.png "  width=" 22" height ="22" alt= "" border= "0"><br><s pan messag e_id="236" >AJXP_MESS AGE[236]</ span></a>
322                                                       <d iv class=" separator" ></div>   360                                                       <d iv class=" separator" ></div>
323                                                       <a  href="#"  id="prevBu tton" oncl ick="retur n false;"> <img  widt h="22" hei ght="22" s rc="AJXP_C LIENT_RESO URCES_FOLD ER/images/ crystal/ac tions/22/b ack_22.png " alt="" b order="0"> <br><span  message_id ="178">AJX P_MESSAGE[ 178]</span ></a>   361                                                       <a  href="#"  id="prevBu tton" oncl ick="retur n false;"> <img  widt h="22" hei ght="22" s rc="AJXP_C LIENT_RESO URCES_FOLD ER/images/ crystal/ac tions/22/b ack_22.png " alt="" b order="0"> <br><span  message_id ="178">AJX P_MESSAGE[ 178]</span ></a>
324                                                       <a  href="#"  id="nextBu tton" oncl ick="retur n false;"> <img width ="22" heig ht="22" sr c="AJXP_CL IENT_RESOU RCES_FOLDE R/images/c rystal/act ions/22/fo rward_22.p ng" alt=""  border="0 "><br><spa n message_ id="179">A JXP_MESSAG E[179]</sp an></a>   362                                                       <a  href="#"  id="nextBu tton" oncl ick="retur n false;"> <img width ="22" heig ht="22" sr c="AJXP_CL IENT_RESOU RCES_FOLDE R/images/c rystal/act ions/22/fo rward_22.p ng" alt=""  border="0 "><br><spa n message_ id="179">A JXP_MESSAG E[179]</sp an></a>
325                                                       <d iv class=" separator" ></div>   363                                                       <d iv class=" separator" ></div>
326                                                       <a  href="#"  id="stopBu tton" oncl ick="retur n false;"> <img width ="22" heig ht="22" sr c="AJXP_CL IENT_RESOU RCES_FOLDE R/images/c rystal/act ions/22/pl ayer_stop. png" alt=" AJXP_MESSA GE[233]" b order="0"> <br><span  message_id ="232">AJX P_MESSAGE[ 232]</span ></a>   364                                                       <a  href="#"  id="stopBu tton" oncl ick="retur n false;"> <img width ="22" heig ht="22" sr c="AJXP_CL IENT_RESOU RCES_FOLDE R/images/c rystal/act ions/22/pl ayer_stop. png" alt=" AJXP_MESSA GE[233]" b order="0"> <br><span  message_id ="232">AJX P_MESSAGE[ 232]</span ></a>
327                                                       <a  href="#"  id="playBu tton" oncl ick="retur n false;"> <img width ="22" heig ht="22" sr c="AJXP_CL IENT_RESOU RCES_FOLDE R/images/c rystal/act ions/22/pl ayer_play. png" alt=" AJXP_MESSA GE[231]" b order="0"> <br><span  message_id ="230">AJX P_MESSAGE[ 230]</span ></a>   365                                                       <a  href="#"  id="playBu tton" oncl ick="retur n false;"> <img width ="22" heig ht="22" sr c="AJXP_CL IENT_RESOU RCES_FOLDE R/images/c rystal/act ions/22/pl ayer_play. png" alt=" AJXP_MESSA GE[231]" b order="0"> <br><span  message_id ="230">AJX P_MESSAGE[ 230]</span ></a>
328                                                       <d iv class=" separator" ></div>   366                                                       <d iv class=" separator" ></div>
329                                                       <a  href="#"  id="downlo adDiapoBut ton" oncli ck="return  false;">< img width= "22" heigh t="22" src ="AJXP_CLI ENT_RESOUR CES_FOLDER /images/cr ystal/acti ons/22/dow nload_mana ger.png" a lt="" bord er="0"><br ><span mes sage_id="8 8">AJXP_ME SSAGE[88]< /span></a>   367                                                       <a  href="#"  id="downlo adDiapoBut ton" oncli ck="return  false;">< img width= "22" heigh t="22" src ="AJXP_CLI ENT_RESOUR CES_FOLDER /images/cr ystal/acti ons/22/dow nload_mana ger.png" a lt="" bord er="0"><br ><span mes sage_id="8 8">AJXP_ME SSAGE[88]< /span></a>
330                                               </div>   368                                               </div>
331                                               <div align ="right" s tyle="back ground-ima ge: url(AJ XP_CLIENT_ RESOURCES_ FOLDER/ima ges/header _bg_plain. png); padd ing-top: 1 px; paddin g-right: 5 px; border :1px solid  #333; bor der-bottom :none; hei ght: 21px; ">   369                                               <div align ="right" s tyle="back ground-ima ge: url(AJ XP_CLIENT_ RESOURCES_ FOLDER/ima ges/header _bg_plain. png); padd ing-top: 1 px; paddin g-right: 5 px; border :1px solid  #333; bor der-bottom :none; hei ght: 21px; ">
332                                               <table cel lpadding=" 0" cellspa cing="0" s tyle="font -size:11px ;"><tr>   370                                               <table cel lpadding=" 0" cellspa cing="0" s tyle="font -size:11px ;"><tr>
333                                               <td><img c lass="diap oramaButto n" width=" 16" height ="16" src= "AJXP_CLIE NT_RESOURC ES_FOLDER/ images/cry stal/actio ns/16/view mag1.png"  id="actual SizeButton " hspace=" 5" alt="Ac tual Size( 100%)" tit le="Actual  Size(100% )" style=" cursor:poi nter;"><im g class="d iaporamaBu tton" src= "AJXP_CLIE NT_RESOURC ES_FOLDER/ images/cry stal/actio ns/16/wind ow_nofulls creen.png"  width="16 " height=" 16" hspace ="5" id="f itToScreen Button" al t="Fit To  Screen" ti tle="Fit T o Screen"  style="cur sor:pointe r;"></td>   371                                               <td><img c lass="diap oramaButto n" width=" 16" height ="16" src= "AJXP_CLIE NT_RESOURC ES_FOLDER/ images/cry stal/actio ns/16/view mag1.png"  id="actual SizeButton " hspace=" 5" alt="Ac tual Size( 100%)" tit le="Actual  Size(100% )" style=" cursor:poi nter;"><im g class="d iaporamaBu tton" src= "AJXP_CLIE NT_RESOURC ES_FOLDER/ images/cry stal/actio ns/16/wind ow_nofulls creen.png"  width="16 " height=" 16" hspace ="5" id="f itToScreen Button" al t="Fit To  Screen" ti tle="Fit T o Screen"  style="cur sor:pointe r;"></td>
334                                               <td><div c lass="slid er" id="sl ider-2"><i nput class ="slider-i nput" id=" slider-inp ut-2" name ="slider-i nput-2"/>< /div></td>   372                                               <td><div c lass="slid er" id="sl ider-2"><i nput class ="slider-i nput" id=" slider-inp ut-2" name ="slider-i nput-2"/>< /div></td>
335                                               <td><input  id="zoomV alue" type ="text" st yle="text- align: rig ht; width:  25px;heig ht: 16px;p adding:0px ;border: n one; paddi ng-right:  1px;"/> %< /td>   373                                               <td><input  id="zoomV alue" type ="text" st yle="text- align: rig ht; width:  25px;heig ht: 16px;p adding:0px ;border: n one; paddi ng-right:  1px;"/> %< /td>
336                                               <td style= "padding-l eft: 10px; "><input i d="time" t ype="text"  value="3"  style="te xt-align:  right; wid th: 25px;h eight: 16p x;padding: 0px;border : none; pa dding-righ t: 1px;"/>  s</td></t r></table>   374                                               <td style= "padding-l eft: 10px; "><input i d="time" t ype="text"  value="3"  style="te xt-align:  right; wid th: 25px;h eight: 16p x;padding: 0px;border : none; pa dding-righ t: 1px;"/>  s</td></t r></table>
337                                               </div>   375                                               </div>
338                                               <div style ="width:10 0%; text-a lign:cente r; vertica l-align:ce nter;overf low:auto;  background -color:#33 3; border: 1px solid  black;" id ="imageCon tainer">   376                                               <div style ="width:10 0%; text-a lign:cente r; vertica l-align:ce nter;overf low:auto;  background -color:#33 3; border: 1px solid  black;" id ="imageCon tainer">
339                                               <img id="m ainImage"  src="" sty le="border : 4px soli d white;">   377                                               <img id="m ainImage"  src="" sty le="border : 4px soli d white;">
340                                               </div>   378                                               </div>
341                                      </div>                                379                                      </div>                             
342                                      ]]></cli entForm>   380                                      ]]></cli entForm>
343                                      <serverC allback me thodName=" switchActi on"></serv erCallback >   381                                      <serverC allback me thodName=" switchActi on"></serv erCallback >
344                                      </proces sing>   382                                      </proces sing>
345                    </ac tion>   383                    </ac tion>
346                    <act ion name=" slideshow_ sel">   384                    <act ion name=" slideshow_ sel">
347                             <gui t ext="234"  title="234 " src="fra me_image.p ng" access Key="" has AccessKey= "false">   385                             <gui t ext="234"  title="234 " src="fra me_image.p ng" access Key="" has AccessKey= "false">
348                                      <context  selection ="true" di r="" recyc le="hidden "   386                                      <context  selection ="true" di r="" recyc le="hidden "
349                                               actionBar= "false" co ntextMenu= "false" in foPanel="t rue"   387                                               actionBar= "false" co ntextMenu= "false" in foPanel="t rue"
350                                               actionBarG roup="get" >   388                                               actionBarG roup="get" >
351                                      </contex t>   389                                      </contex t>
352                                      <selecti onContext  dir="true"  file="tru e" recycle ="true" un ique="fals e" multipl eOnly="tru e" allowed Mimes="AJX P_MIMES_IM AGE" behav iour="hidd en"></sele ctionConte xt></gui>   390                                      <selecti onContext  dir="true"  file="tru e" recycle ="true" un ique="fals e" multipl eOnly="tru e" allowed Mimes="AJX P_MIMES_IM AGE" behav iour="hidd en"></sele ctionConte xt></gui>
353                             <right sContext n oUser="tru e" userLog ged="only"  read="tru e" write=" false" adm inOnly=""> </rightsCo ntext>   391                             <right sContext n oUser="tru e" userLog ged="only"  read="tru e" write=" false" adm inOnly=""> </rightsCo ntext>
354                             <proce ssing>   392                             <proce ssing>
355                                      <clientC allback pr epareModal ="true"><! [CDATA[                                          393                                      <clientC allback pr epareModal ="true"><! [CDATA[                                       
356                                                       va r loadFunc  = functio n(oForm){   394                                                       va r loadFunc  = functio n(oForm){
357                                                                ajax plorer.act ionBar.dia porama = n ew Diapora ma($(oForm ));   395                                                                ajax plorer.act ionBar.dia porama = n ew Diapora ma($(oForm ));
358                                                                ajax plorer.act ionBar.dia porama.ope n(ajaxplor er.getFile sList().ge tSelectedI tems());   396                                                                ajax plorer.act ionBar.dia porama.ope n(ajaxplor er.getFile sList().ge tSelectedI tems());
359                                                       };   397                                                       };
360                                                       va r closeFun c = functi on(){   398                                                       va r closeFun c = functi on(){
361                                                                ajax plorer.act ionBar.dia porama.clo se();   399                                                                ajax plorer.act ionBar.dia porama.clo se();
362                                                                hide LightBox() ;   400                                                                hide LightBox() ;
363                                                                retu rn false;   401                                                                retu rn false;
364                                                       };   402                                                       };
365                                                       mo dal.showDi alogForm(' Diaporama' , 'diapora ma_box', l oadFunc, c loseFunc,  null, true , true);   403                                                       mo dal.showDi alogForm(' Diaporama' , 'diapora ma_box', l oadFunc, c loseFunc,  null, true , true);
366                                               ]]></clien tCallback>   404                                               ]]></clien tCallback>
367                                      <serverC allback me thodName=" switchActi on"></serv erCallback >   405                                      <serverC allback me thodName=" switchActi on"></serv erCallback >
368                                      </proces sing>   406                                      </proces sing>
369                    </ac tion>   407                    </ac tion>
370                    <act ion name=" restore">   408                    <act ion name=" restore">
371                             <gui t ext="222"  title="223 " src="fol der1_impor tant.png"  accessKey= "restore_a ccess_key"  hasAccess Key="true" >   409                             <gui t ext="222"  title="223 " src="fol der1_impor tant.png"  accessKey= "restore_a ccess_key"  hasAccess Key="true" >
372                                      <context  selection ="true" di r="" recyc le="only"   410                                      <context  selection ="true" di r="" recyc le="only"
373                                               actionBar= "true" con textMenu=" true" info Panel="fal se"   411                                               actionBar= "true" con textMenu=" true" info Panel="fal se"
374                                               actionBarG roup="chan ge">   412                                               actionBarG roup="chan ge">
375                                      </contex t>   413                                      </contex t>
376                                      <selecti onContext  dir="true"  file="tru e" recycle ="false" u nique="tru e" image=" false" mp3 ="false" e ditable="f alse"></se lectionCon text></gui >   414                                      <selecti onContext  dir="true"  file="tru e" recycle ="false" u nique="tru e" image=" false" mp3 ="false" e ditable="f alse"></se lectionCon text></gui >
377                             <right sContext n oUser="tru e" userLog ged="only"  read="tru e" write=" true" admi nOnly="">< /rightsCon text>   415                             <right sContext n oUser="tru e" userLog ged="only"  read="tru e" write=" true" admi nOnly="">< /rightsCon text>
378                             <proce ssing>   416                             <proce ssing>
379                                      <clientC allback pr epareModal ="true"><! [CDATA[   417                                      <clientC allback pr epareModal ="true"><! [CDATA[
380                                         var u serSelecti on = ajaxp lorer.getF ilesList() .getUserSe lection();   418                                         var u serSelecti on = ajaxp lorer.getF ilesList() .getUserSe lection();
381                                         var f ileNames =  $A(userSe lection.ge tFileNames ());   419                                         var f ileNames =  $A(userSe lection.ge tFileNames ());
382                                         var c onnexion =  new Conne xion();   420                                         var c onnexion =  new Conne xion();
383                                         conne xion.addPa rameter('g et_action' , 'restore ');   421                                         conne xion.addPa rameter('g et_action' , 'restore ');
384                                         conne xion.addPa rameter('d ir', userS election.g etCurrentR ep());   422                                         conne xion.addPa rameter('d ir', userS election.g etCurrentR ep());
385                                         conne xion.onCom plete = fu nction(tra nsport){   423                                         conne xion.onCom plete = fu nction(tra nsport){
386                                                       aj axplorer.a ctionBar.p arseXmlMes sage(trans port.respo nseXML);   424                                                       aj axplorer.a ctionBar.p arseXmlMes sage(trans port.respo nseXML);
387                                         };   425                                         };
388                                         fileN ames.each( function(f ilename){   426                                         fileN ames.each( function(f ilename){
389                                                       co nnexion.ad dParameter ('file', f ilename);   427                                                       co nnexion.ad dParameter ('file', f ilename);
390                                                       co nnexion.se ndAsync();   428                                                       co nnexion.se ndAsync();
391                                         });   429                                         });
392                                               ]]></clien tCallback>   430                                               ]]></clien tCallback>
393                                      <serverC allback me thodName=" switchActi on"></serv erCallback >   431                                      <serverC allback me thodName=" switchActi on"></serv erCallback >
394                                      </proces sing>   432                                      </proces sing>
395                    </ac tion>   433                    </ac tion>
396                    <act ion name=" rename">   434                    <act ion name=" rename">
397                             <gui t ext="6" ti tle="158"  src="appli x.png" acc essKey="re name_acces s_key" has AccessKey= "true">   435                             <gui t ext="6" ti tle="158"  src="appli x.png" acc essKey="re name_acces s_key" has AccessKey= "true">
398                                      <context  selection ="true" di r="" recyc le="hidden "   436                                      <context  selection ="true" di r="" recyc le="hidden "
399                                               actionBar= "true" con textMenu=" true" info Panel="fal se"   437                                               actionBar= "true" con textMenu=" true" info Panel="fal se"
400                                               actionBarG roup="chan ge" inZip= "false">   438                                               actionBarG roup="chan ge" inZip= "false">
401                                      </contex t>   439                                      </contex t>
402                                      <selecti onContext  dir="true"  file="tru e" recycle ="false" u nique="tru e" image=" false" mp3 ="false" e ditable="f alse"></se lectionCon text></gui >   440                                      <selecti onContext  dir="true"  file="tru e" recycle ="false" u nique="tru e" image=" false" mp3 ="false" e ditable="f alse"></se lectionCon text></gui >
403                             <right sContext n oUser="tru e" userLog ged="only"  read="tru e" write=" true" admi nOnly="">< /rightsCon text>   441                             <right sContext n oUser="tru e" userLog ged="only"  read="tru e" write=" true" admi nOnly="">< /rightsCon text>
404                             <proce ssing>   442                             <proce ssing>
405                                      <clientC allback pr epareModal ="true"><! [CDATA[   443                                      <clientC allback pr epareModal ="true"><! [CDATA[
406                                               var onLoad  = functio n(newForm) {                              444                                               var onLoad  = functio n(newForm) {                           
407                                                       va r userSele ction = aj axplorer.g etFilesLis t().getUse rSelection ();   445                                                       va r userSele ction = aj axplorer.g etFilesLis t().getUse rSelection ();
408                                                       us erSelectio n.updateFo rmOrUrl(ne wForm, '') ;   446                                                       us erSelectio n.updateFo rmOrUrl(ne wForm, '') ;
409                                                       va r crtFileN ame = user Selection. getUniqueF ileName();   447                                                       va r crtFileN ame = user Selection. getUniqueF ileName();
410                                                       ne wForm.file name_new.v alue = get BaseName(c rtFileName );   448                                                       ne wForm.file name_new.v alue = get BaseName(c rtFileName );
411                                               };   449                                               };
412                                               modal.show DialogForm ('Rename',  'rename_f orm', onLo ad);                                        450                                               modal.show DialogForm ('Rename',  'rename_f orm', onLo ad);                                     
413                                               ]]></clien tCallback>   451                                               ]]></clien tCallback>
414                                      <clientF orm id="re name_form" ><![CDATA[   452                                      <clientF orm id="re name_form" ><![CDATA[
415                                      <div id= "rename_fo rm" action ="rename"  box_width= "280">   453                                      <div id= "rename_fo rm" action ="rename"  box_width= "280">
416   AJXP_MESSA GE[6] <b c lass="repl ace_file"> </b> &nbsp ;AJXP_MESS AGE[42]<br />   454   AJXP_MESSA GE[6] <b c lass="repl ace_file"> </b> &nbsp ;AJXP_MESS AGE[42]<br />
417   <input typ e="text" n ame="filen ame_new" v alue="" id ="filename _new" clas s="dialogF ocus initF icName">   455   <input typ e="text" n ame="filen ame_new" v alue="" id ="filename _new" clas s="dialogF ocus initF icName">
418   </div>   456   </div>
419                                      ]]></cli entForm>   457                                      ]]></cli entForm>
420                                      <serverC allback me thodName=" switchActi on"></serv erCallback >   458                                      <serverC allback me thodName=" switchActi on"></serv erCallback >
421                                      </proces sing>   459                                      </proces sing>
422                    </ac tion>   460                    </ac tion>
423                    <act ion name=" copy" ctrl DragndropD efault="tr ue">   461                    <act ion name=" copy" ctrl DragndropD efault="tr ue">
424                             <gui t ext="66" t itle="159"  src="edit copy.png"  accessKey= "copy_acce ss_key" ha sAccessKey ="true">   462                             <gui t ext="66" t itle="159"  src="edit copy.png"  accessKey= "copy_acce ss_key" ha sAccessKey ="true">
425                                      <context  selection ="true" di r="" recyc le="hidden "   463                                      <context  selection ="true" di r="" recyc le="hidden "
426                                               actionBar= "true" con textMenu=" true" info Panel="fal se"   464                                               actionBar= "true" con textMenu=" true" info Panel="fal se"
427                                               actionBarG roup="chan ge">   465                                               actionBarG roup="chan ge">
428                                      </contex t>   466                                      </contex t>
429                                      <selecti onContext  dir="true"  file="tru e" recycle ="false" u nique="fal se" image= "false" mp 3="false"  editable=" false"></s electionCo ntext></gu i>   467                                      <selecti onContext  dir="true"  file="tru e" recycle ="false" u nique="fal se" image= "false" mp 3="false"  editable=" false"></s electionCo ntext></gu i>
430                             <right sContext n oUser="tru e" userLog ged="only"  read="tru e" write=" true" admi nOnly="">< /rightsCon text>   468                             <right sContext n oUser="tru e" userLog ged="only"  read="tru e" write=" true" admi nOnly="">< /rightsCon text>
431                             <proce ssing>   469                             <proce ssing>
432                                      <clientC allback pr epareModal ="true"><! [CDATA[   470                                      <clientC allback pr epareModal ="true"><! [CDATA[
433                                               var onLoad  = functio n(oForm){   471                                               var onLoad  = functio n(oForm){
434                                                       va r getActio n = oForm. getElement sBySelecto r('input[n ame="get_a ction"]')[ 0];   472                                                       va r getActio n = oForm. getElement sBySelecto r('input[n ame="get_a ction"]')[ 0];
435                                                       ge tAction.va lue = 'cop y';   473                                                       ge tAction.va lue = 'cop y';
436                                                       va r containe r = oForm. getElement sBySelecto r(".treeCo pyContaine r")[0];   474                                                       va r containe r = oForm. getElement sBySelecto r(".treeCo pyContaine r")[0];
437                                                       va r eDestLab el = oForm .getElemen tsBySelect or('input[ name="dest "]')[0];   475                                                       va r eDestLab el = oForm .getElemen tsBySelect or('input[ name="dest "]')[0];
438                                                       va r eDestNod eHidden =  oForm.getE lementsByS elector('i nput[name= "dest_node "]')[0];   476                                                       va r eDestNod eHidden =  oForm.getE lementsByS elector('i nput[name= "dest_node "]')[0];
439                                                       if (!this.tre eCopy){   477                                                       if (!this.tre eCopy){
440                                                                this .treeCopy  = new WebF XLoadTree( '/',    478                                                                this .treeCopy  = new WebF XLoadTree( '/', 
441                                                                                                                                               aj xpServerAc cessPath+' ?skipZip=t rue&get_ac tion=ls',    479                                                                                                                                               aj xpServerAc cessPath+' ?skipZip=t rue&get_ac tion=ls', 
442                                                                                                                                               "j avascript: ajaxplorer .foldersTr ee.clickNo de(CURRENT _ID)",    480                                                                                                                                               "j avascript: ajaxplorer .foldersTr ee.clickNo de(CURRENT _ID)", 
443                                                                                                                                               'e xplorer');   481                                                                                                                                               'e xplorer');
444                                                       }   482                                                       }
445                                                       el se{   483                                                       el se{
446                                                                wind ow.setTime out('ajaxp lorer.acti onBar.tree Copy.reloa d()', 100) ;   484                                                                wind ow.setTime out('ajaxp lorer.acti onBar.tree Copy.reloa d()', 100) ;
447                                                       }                                     485                                                       }                                  
448                                                       th is.treeCop yActive =  true;   486                                                       th is.treeCop yActive =  true;
449                                                       th is.treeCop yActionDes t = $A([eD estLabel]) ;   487                                                       th is.treeCop yActionDes t = $A([eD estLabel]) ;
450                                                       th is.treeCop yActionDes tNode = $A ([eDestNod eHidden]);   488                                                       th is.treeCop yActionDes tNode = $A ([eDestNod eHidden]);
451                                                       co ntainer.in nerHTML =  this.treeC opy.toStri ng();   489                                                       co ntainer.in nerHTML =  this.treeC opy.toStri ng();
452                                                       $( this.treeC opy.id).ob serve("cli ck", funct ion(e){   490                                                       $( this.treeC opy.id).ob serve("cli ck", funct ion(e){
453                                                                ajax plorer.fol dersTree.c lickNode(t his.treeCo py.id);   491                                                                ajax plorer.fol dersTree.c lickNode(t his.treeCo py.id);
454                                                                Even t.stop(e);   492                                                                Even t.stop(e);
455                                                       }. bind(this) );   493                                                       }. bind(this) );
456                                                       th is.treeCop y.focus();   494                                                       th is.treeCop y.focus();
457                                               }.bind(aja xplorer.ac tionBar);   495                                               }.bind(aja xplorer.ac tionBar);
458                                               var onCanc el = funct ion(){                                    496                                               var onCanc el = funct ion(){                                 
459                                                       aj axplorer.c ancelCopyO rMove();   497                                                       aj axplorer.c ancelCopyO rMove();
460                                               };   498                                               };
461                                               var onSubm it = funct ion(){   499                                               var onSubm it = funct ion(){
462                                                       va r oForm =  modal.getF orm();   500                                                       va r oForm =  modal.getF orm();
463                                                       va r eDestLab el = oForm .getElemen tsBySelect or('input[ name="dest "]')[0];   501                                                       va r eDestLab el = oForm .getElemen tsBySelect or('input[ name="dest "]')[0];
464                                                       if (eDestLabe l.value ==  ajaxplore r.filesLis t.getCurre ntRep())   502                                                       if (eDestLabe l.value ==  ajaxplore r.filesLis t.getCurre ntRep())
465                                                       {   503                                                       {
466                                                                aler t(MessageH ash[183]);   504                                                                aler t(MessageH ash[183]);
467                                                                retu rn false;   505                                                                retu rn false;
468                                                       }   506                                                       }
469                                                       aj axplorer.f ilesList.g etUserSele ction().up dateFormOr Url(oForm) ;                              507                                                       aj axplorer.f ilesList.g etUserSele ction().up dateFormOr Url(oForm) ;                           
470                                                       th is.treeCop yActive =  false;   508                                                       th is.treeCop yActive =  false;
471                                                       th is.submitF orm(oForm) ;   509                                                       th is.submitF orm(oForm) ;
472                                                       hi deLightBox (true);   510                                                       hi deLightBox (true);
473                                                       re turn false ;   511                                                       re turn false ;
474                                               }.bind(aja xplorer.ac tionBar);   512                                               }.bind(aja xplorer.ac tionBar);
475                                               modal.show DialogForm ('Move/Cop y', 'copym ove_form',  onLoad, o nSubmit, o nCancel);                               513                                               modal.show DialogForm ('Move/Cop y', 'copym ove_form',  onLoad, o nSubmit, o nCancel);                            
476                                               ]]></clien tCallback>   514                                               ]]></clien tCallback>
477                                      <clientF orm id="co pymove_for m"><![CDAT A[   515                                      <clientF orm id="co pymove_for m"><![CDAT A[
478                                               <div id="c opymove_fo rm" action ="copy" bo x_width="2 72">   516                                               <div id="c opymove_fo rm" action ="copy" bo x_width="2 72">
479                                               <input typ e="hidden"  name="des t_node" va lue="">   517                                               <input typ e="hidden"  name="des t_node" va lue="">
480                                               <span id=" copymove_t ext_span"> </span>   518                                               <span id=" copymove_t ext_span"> </span>
481                                               <div class ="dialogLe gend">AJXP _MESSAGE[1 75]</div>   519                                               <div class ="dialogLe gend">AJXP _MESSAGE[1 75]</div>
482                                               <div style ="height:2 50px; widt h:246px; p adding: 0p x 0px; bor der: 1px s olid #ccc; ">   520                                               <div style ="height:2 50px; widt h:246px; p adding: 0p x 0px; bor der: 1px s olid #ccc; ">
483                                               <input typ e="text" n ame="dest"  value="/"  readonly   style="wi dth:100%;  border: no ne; border -bottom: 1 px solid # ccc;"/>   521                                               <input typ e="text" n ame="dest"  value="/"  readonly   style="wi dth:100%;  border: no ne; border -bottom: 1 px solid # ccc;"/>
484                                               <div id="t reeCopy" s tyle="heig ht:222px;  padding: 3 px 2px; ov erflow:aut o; text-al ign:left;"  class="tr eeCopyCont ainer"></d iv>   522                                               <div id="t reeCopy" s tyle="heig ht:222px;  padding: 3 px 2px; ov erflow:aut o; text-al ign:left;"  class="tr eeCopyCont ainer"></d iv>
485                                               </div>   523                                               </div>
486                                               </div>   524                                               </div>
487                                      ]]></cli entForm>   525                                      ]]></cli entForm>
488                                      <clientL istener na me="contex tChange">< ![CDATA[   526                                      <clientL istener na me="contex tChange">< ![CDATA[
489                                      if(ajaxp lorer){   527                                      if(ajaxp lorer){
490                                               var action  = ajaxplo rer.getAct ionBar().g etActionBy Name("copy ");   528                                               var action  = ajaxplo rer.getAct ionBar().g etActionBy Name("copy ");
491                                               if(action  && ajaxplo rer.folder sTree){   529                                               if(action  && ajaxplo rer.folder sTree){
492                                                       if (ajaxplore r.foldersT ree.curren tInZip()){   530                                                       if (ajaxplore r.foldersT ree.curren tInZip()){
493                                                                acti on.setLabe l(247, 248 );   531                                                                acti on.setLabe l(247, 248 );
494                                                                acti on.setIcon Src('ark_e xtract.png ');   532                                                                acti on.setIcon Src('ark_e xtract.png ');
495                                                       }e lse{   533                                                       }e lse{
496                                                                acti on.setLabe l(66, 159) ;   534                                                                acti on.setLabe l(66, 159) ;
497                                                                acti on.setIcon Src('editc opy.png');   535                                                                acti on.setIcon Src('editc opy.png');
498                                                       }   536                                                       }
499                                               }   537                                               }
500                                      }   538                                      }
501                                      ]]></cli entListene r>   539                                      ]]></cli entListene r>
502                                      <serverC allback me thodName=" switchActi on"></serv erCallback >   540                                      <serverC allback me thodName=" switchActi on"></serv erCallback >
503                                      </proces sing>   541                                      </proces sing>
504                    </ac tion>   542                    </ac tion>
505                    <act ion name=" move" drag ndropDefau lt="true">   543                    <act ion name=" move" drag ndropDefau lt="true">
506                             <gui t ext="70" t itle="160"  src="edit paste.png"  accessKey ="move_acc ess_key" h asAccessKe y="true">   544                             <gui t ext="70" t itle="160"  src="edit paste.png"  accessKey ="move_acc ess_key" h asAccessKe y="true">
507                                      <context  selection ="true" di r="" recyc le="hidden "   545                                      <context  selection ="true" di r="" recyc le="hidden "
508                                               actionBar= "true" con textMenu=" true" info Panel="fal se"   546                                               actionBar= "true" con textMenu=" true" info Panel="fal se"
509                                               actionBarG roup="chan ge" inZip= "false">   547                                               actionBarG roup="chan ge" inZip= "false">
510                                      </contex t>   548                                      </contex t>
511                                      <selecti onContext  dir="true"  file="tru e" recycle ="false" u nique="fal se" image= "false" mp 3="false"  editable=" false"></s electionCo ntext></gu i>   549                                      <selecti onContext  dir="true"  file="tru e" recycle ="false" u nique="fal se" image= "false" mp 3="false"  editable=" false"></s electionCo ntext></gu i>
512                             <right sContext n oUser="tru e" userLog ged="only"  read="tru e" write=" true" admi nOnly="">< /rightsCon text>   550                             <right sContext n oUser="tru e" userLog ged="only"  read="tru e" write=" true" admi nOnly="">< /rightsCon text>
513                             <proce ssing>   551                             <proce ssing>
514                                      <clientC allback pr epareModal ="true"><! [CDATA[   552                                      <clientC allback pr epareModal ="true"><! [CDATA[
515                                               var onLoad  = functio n(oForm){   553                                               var onLoad  = functio n(oForm){
516                                                       va r getActio n = oForm. getElement sBySelecto r('input[n ame="get_a ction"]')[ 0];   554                                                       va r getActio n = oForm. getElement sBySelecto r('input[n ame="get_a ction"]')[ 0];
517                                                       ge tAction.va lue = 'mov e';   555                                                       ge tAction.va lue = 'mov e';
518                                                       va r containe r = oForm. getElement sBySelecto r(".treeCo pyContaine r")[0];   556                                                       va r containe r = oForm. getElement sBySelecto r(".treeCo pyContaine r")[0];
519                                                       va r eDestLab el = oForm .getElemen tsBySelect or('input[ name="dest "]')[0];   557                                                       va r eDestLab el = oForm .getElemen tsBySelect or('input[ name="dest "]')[0];
520                                                       va r eDestNod eHidden =  oForm.getE lementsByS elector('i nput[name= "dest_node "]')[0];   558                                                       va r eDestNod eHidden =  oForm.getE lementsByS elector('i nput[name= "dest_node "]')[0];
521                                                       if (!this.tre eCopy){   559                                                       if (!this.tre eCopy){
522                                                                this .treeCopy  = new WebF XLoadTree( '/',    560                                                                this .treeCopy  = new WebF XLoadTree( '/', 
523                                                                                                                                               aj xpServerAc cessPath+' ?skipZip=t rue&get_ac tion=ls',    561                                                                                                                                               aj xpServerAc cessPath+' ?skipZip=t rue&get_ac tion=ls', 
524                                                                                                                                               "j avascript: ajaxplorer .foldersTr ee.clickNo de(CURRENT _ID)",    562                                                                                                                                               "j avascript: ajaxplorer .foldersTr ee.clickNo de(CURRENT _ID)", 
525                                                                                                                                               'e xplorer');   563                                                                                                                                               'e xplorer');
526                                                       }   564                                                       }
527                                                       el se{   565                                                       el se{
528                                                                wind ow.setTime out('ajaxp lorer.acti onBar.tree Copy.reloa d()', 100) ;   566                                                                wind ow.setTime out('ajaxp lorer.acti onBar.tree Copy.reloa d()', 100) ;
529                                                       }                                     567                                                       }                                  
530                                                       th is.treeCop yActive =  true;   568                                                       th is.treeCop yActive =  true;
531                                                       th is.treeCop yActionDes t = $A([eD estLabel]) ;   569                                                       th is.treeCop yActionDes t = $A([eD estLabel]) ;
532                                                       th is.treeCop yActionDes tNode = $A ([eDestNod eHidden]);   570                                                       th is.treeCop yActionDes tNode = $A ([eDestNod eHidden]);
533                                                       co ntainer.in nerHTML =  this.treeC opy.toStri ng();   571                                                       co ntainer.in nerHTML =  this.treeC opy.toStri ng();
534                                                       $( this.treeC opy.id).ob serve("cli ck", funct ion(e){   572                                                       $( this.treeC opy.id).ob serve("cli ck", funct ion(e){
535                                                                ajax plorer.fol dersTree.c lickNode(t his.treeCo py.id);   573                                                                ajax plorer.fol dersTree.c lickNode(t his.treeCo py.id);
536                                                                Even t.stop(e);   574                                                                Even t.stop(e);
537                                                       }. bind(this) );                                                 575                                                       }. bind(this) );                                              
538                                                       th is.treeCop y.focus();   576                                                       th is.treeCop y.focus();
539                                               }.bind(aja xplorer.ac tionBar);   577                                               }.bind(aja xplorer.ac tionBar);
540                                               var onCanc el = funct ion(){                                    578                                               var onCanc el = funct ion(){                                 
541                                                       aj axplorer.c ancelCopyO rMove();   579                                                       aj axplorer.c ancelCopyO rMove();
542                                               };   580                                               };
543                                               var onSubm it = funct ion(){   581                                               var onSubm it = funct ion(){
544                                                       va r oForm =  modal.getF orm();   582                                                       va r oForm =  modal.getF orm();
545                                                       va r eDestLab el = oForm .getElemen tsBySelect or('input[ name="dest "]')[0];   583                                                       va r eDestLab el = oForm .getElemen tsBySelect or('input[ name="dest "]')[0];
546                                                       if (eDestLabe l.value ==  ajaxplore r.filesLis t.getCurre ntRep())   584                                                       if (eDestLabe l.value ==  ajaxplore r.filesLis t.getCurre ntRep())
547                                                       {   585                                                       {
548                                                                aler t(MessageH ash[183]);   586                                                                aler t(MessageH ash[183]);
549                                                                retu rn false;   587                                                                retu rn false;
550                                                       }   588                                                       }
551                                                       aj axplorer.f ilesList.g etUserSele ction().up dateFormOr Url(oForm) ;                              589                                                       aj axplorer.f ilesList.g etUserSele ction().up dateFormOr Url(oForm) ;                           
552                                                       th is.treeCop yActive =  false;   590                                                       th is.treeCop yActive =  false;
553                                                       th is.submitF orm(oForm) ;   591                                                       th is.submitF orm(oForm) ;
554                                                       hi deLightBox (true);   592                                                       hi deLightBox (true);
555                                                       re turn false ;   593                                                       re turn false ;
556                                               }.bind(aja xplorer.ac tionBar);   594                                               }.bind(aja xplorer.ac tionBar);
557                                               modal.show DialogForm ('Move/Cop y', 'copym ove_form',  onLoad, o nSubmit, o nCancel);                                        595                                               modal.show DialogForm ('Move/Cop y', 'copym ove_form',  onLoad, o nSubmit, o nCancel);                                     
558                                               ]]></clien tCallback>   596                                               ]]></clien tCallback>
559                                      <serverC allback me thodName=" switchActi on"></serv erCallback >   597                                      <serverC allback me thodName=" switchActi on"></serv erCallback >
560                                      </proces sing>   598                                      </proces sing>
561                    </ac tion>   599                    </ac tion>
562                    <act ion name=" delete">                       600                    <act ion name=" delete">                    
563                             <gui t ext="7" ti tle="161"  src="editd elete.png"  accessKey ="delete_a ccess_key"  hasAccess Key="true" >   601                             <gui t ext="7" ti tle="161"  src="editd elete.png"  accessKey ="delete_a ccess_key"  hasAccess Key="true" >
564                                      <context  selection ="true" di r="" recyc le="false"   602                                      <context  selection ="true" di r="" recyc le="false"
565                                               actionBar= "true" con textMenu=" true" info Panel="fal se"   603                                               actionBar= "true" con textMenu=" true" info Panel="fal se"
566                                               actionBarG roup="chan ge" inZip= "false">   604                                               actionBarG roup="chan ge" inZip= "false">
567                                      </contex t>   605                                      </contex t>
568                                      <selecti onContext  dir="true"  file="tru e" recycle ="false" u nique="fal se" image= "false" mp 3="false"  editable=" false"></s electionCo ntext></gu i>   606                                      <selecti onContext  dir="true"  file="tru e" recycle ="false" u nique="fal se" image= "false" mp 3="false"  editable=" false"></s electionCo ntext></gu i>
569                             <right sContext n oUser="tru e" userLog ged="only"  read="tru e" write=" true" admi nOnly="">< /rightsCon text>   607                             <right sContext n oUser="tru e" userLog ged="only"  read="tru e" write=" true" admi nOnly="">< /rightsCon text>
570                             <proce ssing>   608                             <proce ssing>
571                                      <clientC allback pr epareModal ="true"><! [CDATA[   609                                      <clientC allback pr epareModal ="true"><! [CDATA[
572                                               var onLoad  = functio n(oForm){   610                                               var onLoad  = functio n(oForm){
573                                               var messag e = Messag eHash[177] ;   611                                               var messag e = Messag eHash[177] ;
574                                               if(ajaxplo rer.folder sTree.recy cleEnabled () && !aja xplorer.fo ldersTree. currentIsR ecycle()){   612                                               if(ajaxplo rer.folder sTree.recy cleEnabled () && !aja xplorer.fo ldersTree. currentIsR ecycle()){
575                                                       me ssage = Me ssageHash[ 176];   613                                                       me ssage = Me ssageHash[ 176];
576                                               }   614                                               }
577                                               $(oForm).g etElements BySelector ('span[id= "delete_me ssage"]')[ 0].innerHT ML = messa ge;   615                                               $(oForm).g etElements BySelector ('span[id= "delete_me ssage"]')[ 0].innerHT ML = messa ge;
578                                               };   616                                               };
579                                               modal.show DialogForm ('Delete',  'delete_f orm', onLo ad, functi on(){   617                                               modal.show DialogForm ('Delete',  'delete_f orm', onLo ad, functi on(){
580                                                       va r oForm =  modal.getF orm();   618                                                       va r oForm =  modal.getF orm();
581                                                       aj axplorer.f ilesList.g etUserSele ction().up dateFormOr Url(oForm) ;   619                                                       aj axplorer.f ilesList.g etUserSele ction().up dateFormOr Url(oForm) ;
582                                                       aj axplorer.a ctionBar.s ubmitForm( oForm);   620                                                       aj axplorer.a ctionBar.s ubmitForm( oForm);
583                                                       hi deLightBox (true);   621                                                       hi deLightBox (true);
584                                                       re turn false ;   622                                                       re turn false ;
585                                               });   623                                               });
586                                               ]]></clien tCallback>   624                                               ]]></clien tCallback>
587                                      <clientF orm id="de lete_form" ><![CDATA[   625                                      <clientF orm id="de lete_form" ><![CDATA[
588                                      <div id= "delete_fo rm" action ="delete"  box_width= "280">   626                                      <div id= "delete_fo rm" action ="delete"  box_width= "280">
589   <span id=" delete_mes sage"></sp an>   627   <span id=" delete_mes sage"></sp an>
590   </div>                             ]]></cli entForm>   628   </div>                             ]]></cli entForm>
591                                      <serverC allback me thodName=" switchActi on"></serv erCallback >   629                                      <serverC allback me thodName=" switchActi on"></serv erCallback >
592                                      </proces sing>   630                                      </proces sing>
593                    </ac tion>   631                    </ac tion>
594                    <act ion name=" play_whole _folder">   632                    <act ion name=" play_whole _folder">
595                             <gui t ext="140"  title="140 " src="pla yer_play.p ng" access Key=""><co ntext sele ction="tru e" dir=""  recycle="f alse" acti onBar="fal se" contex tMenu="fal se" infoPa nel="true" ></context ><selectio nContext d ir="false"  file="tru e" recycle ="false" u nique="tru e" allowed Mimes="AJX P_MIMES_AU DIO"></sel ectionCont ext></gui>   633                             <gui t ext="140"  title="140 " src="pla yer_play.p ng" access Key=""><co ntext sele ction="tru e" dir=""  recycle="f alse" acti onBar="fal se" contex tMenu="fal se" infoPa nel="true" ></context ><selectio nContext d ir="false"  file="tru e" recycle ="false" u nique="tru e" allowed Mimes="AJX P_MIMES_AU DIO"></sel ectionCont ext></gui>
596                             <right sContext n oUser="tru e" userLog ged="only"  read="tru e" write=" false" adm inOnly=""> </rightsCo ntext>   634                             <right sContext n oUser="tru e" userLog ged="only"  read="tru e" write=" false" adm inOnly=""> </rightsCo ntext>
597                             <proce ssing>   635                             <proce ssing>
598                                      <clientC allback><! [CDATA[   636                                      <clientC allback><! [CDATA[
599                                               var templa te = new T emplate('< head><titl e>AjaXplor er MP3 Pla yer</title ></head><b ody style= "margin:0p x; padding :10px;"><d iv style=\ "font-fami ly:Trebuch et MS, san s-serif; c olor:#79f;  font-size :15px; fon t-weight:b old;\">Aja Xplorer Pl ayer</div> <div style ="font-fam ily:Trebuc het MS, sa ns-serif;  color:#666 ; font-siz e:10px; pa dding-bott om: 10px;" >'+Message Hash[141]+ ': #{curre nt_folder} </div><obj ect type=" applicatio n/x-shockw ave-flash"  data="AJX P_CLIENT_R ESOURCES_F OLDER/flas h/dewplaye r-multi.sw f?mp3=#{mp 3_url}&amp ;bgcolor=F FFFFF&amp; showtime=1 &amp;autop lay=1" wid th="240" h eight="20" ><param na me="wmode"  value="tr ansparent" ><param na me="movie"  value="AJ XP_CLIENT_ RESOURCES_ FOLDER/fla sh/dewplay er-multi.s wf?mp3=#{m p3_url}&am p;bgcolor= FFFFFF&amp ;showtime= 1&amp;auto play=1" /> </object>< /body>');   637                                               var templa te = new T emplate('< head><titl e>AjaXplor er MP3 Pla yer</title ></head><b ody style= "margin:0p x; padding :10px;"><d iv style=\ "font-fami ly:Trebuch et MS, san s-serif; c olor:#79f;  font-size :15px; fon t-weight:b old;\">Aja Xplorer Pl ayer</div> <div style ="font-fam ily:Trebuc het MS, sa ns-serif;  color:#666 ; font-siz e:10px; pa dding-bott om: 10px;" >'+Message Hash[141]+ ': #{curre nt_folder} </div><obj ect type=" applicatio n/x-shockw ave-flash"  data="AJX P_CLIENT_R ESOURCES_F OLDER/flas h/dewplaye r-multi.sw f?mp3=#{mp 3_url}&amp ;bgcolor=F FFFFF&amp; showtime=1 &amp;autop lay=1" wid th="240" h eight="20" ><param na me="wmode"  value="tr ansparent" ><param na me="movie"  value="AJ XP_CLIENT_ RESOURCES_ FOLDER/fla sh/dewplay er-multi.s wf?mp3=#{m p3_url}&am p;bgcolor= FFFFFF&amp ;showtime= 1&amp;auto play=1" /> </object>< /body>');
600                                                 638                                              
601                                               var mp3Ite ms = new A rray();   639                                               var mp3Ite ms = new A rray();
602                                               $A(ajaxplo rer.getFil esList().g etItems()) .each(func tion(rowIt em){   640                                               $A(ajaxplo rer.getFil esList().g etItems()) .each(func tion(rowIt em){
603                                                       va r filename  = rowItem .getAttrib ute('filen ame');   641                                                       va r filename  = rowItem .getAttrib ute('filen ame');
604                                                       if (getFileEx tension(fi lename) ==  'mp3') mp 3Items.pus h(filename );   642                                                       if (getFileEx tension(fi lename) ==  'mp3') mp 3Items.pus h(filename );
605                                               });                                                    643                                               });                                                 
606                                               var mp3_ur l = '';   644                                               var mp3_ur l = '';
607                                               mp3Items.e ach(functi on(url){   645                                               mp3Items.e ach(functi on(url){
608                                                       mp 3_url += ' content.ph p?action=m p3_proxy%2 6file='+ur l;   646                                                       mp 3_url += ' content.ph p?action=m p3_proxy%2 6file='+ur l;
609                                                       if (url != mp 3Items.las t()) mp3_u rl += '|';   647                                                       if (url != mp 3Items.las t()) mp3_u rl += '|';
610                                               });   648                                               });
611                                               newWin = w indow.open ('', 'mp3_ multi_play er', 'widt h=260,heig ht=30,dire ctories=no ,location= no,menubar =no,resiza ble=no,scr ollbars=no ,status=no ,toolbar=n o');   649                                               newWin = w indow.open ('', 'mp3_ multi_play er', 'widt h=260,heig ht=30,dire ctories=no ,location= no,menubar =no,resiza ble=no,scr ollbars=no ,status=no ,toolbar=n o');
612                                               newWin.doc ument.writ e(template .evaluate( {mp3_url:m p3_url, cu rrent_fold er:ajaxplo rer.getFil esList().g etCurrentR ep()}));   650                                               newWin.doc ument.writ e(template .evaluate( {mp3_url:m p3_url, cu rrent_fold er:ajaxplo rer.getFil esList().g etCurrentR ep()}));
613                                               newWin.doc ument.clos e();   651                                               newWin.doc ument.clos e();
614                                               ]]></clien tCallback>   652                                               ]]></clien tCallback>
615                                      <serverC allback me thodName=" switchActi on"></serv erCallback >   653                                      <serverC allback me thodName=" switchActi on"></serv erCallback >
616                                      </proces sing>   654                                      </proces sing>
617                    </ac tion>   655                    </ac tion>
618                    <act ion name=" image_prox y">   656                    <act ion name=" image_prox y">
619                             <gui t ext="6" ti tle="158"  src="appli x.png" acc essKey="re name_acces s_key"><co ntext sele ction="tru e" dir=""  recycle="f alse" acti onBar="fal se" contex tMenu="fal se" infoPa nel="false "></contex t><selecti onContext  dir="true"  file="tru e" recycle ="false" u nique="tru e" image=" " mp3="" e ditable="" ></selecti onContext> </gui>   657                             <gui t ext="6" ti tle="158"  src="appli x.png" acc essKey="re name_acces s_key"><co ntext sele ction="tru e" dir=""  recycle="f alse" acti onBar="fal se" contex tMenu="fal se" infoPa nel="false "></contex t><selecti onContext  dir="true"  file="tru e" recycle ="false" u nique="tru e" image=" " mp3="" e ditable="" ></selecti onContext> </gui>
620                             <right sContext n oUser="tru e" userLog ged="only"  read="tru e" write=" false" adm inOnly=""> </rightsCo ntext>   658                             <right sContext n oUser="tru e" userLog ged="only"  read="tru e" write=" false" adm inOnly=""> </rightsCo ntext>
621                             <proce ssing>   659                             <proce ssing>
622                                      <clientC allback><! [CDATA[   660                                      <clientC allback><! [CDATA[
623                                               // PUT HER E CODE TO  EXECUTE IN  JAVASCRIP T   661                                               // PUT HER E CODE TO  EXECUTE IN  JAVASCRIP T
624                                               ]]></clien tCallback>   662                                               ]]></clien tCallback>
625                                      <serverC allback me thodName=" switchActi on"></serv erCallback >   663                                      <serverC allback me thodName=" switchActi on"></serv erCallback >
626                                      </proces sing>   664                                      </proces sing>
627                    </ac tion>   665                    </ac tion>
628                    <act ion name=" mp3_proxy" >   666                    <act ion name=" mp3_proxy" >
629                             <gui t ext="6" ti tle="158"  src="appli x.png" acc essKey="re name_acces s_key"><co ntext sele ction="tru e" dir=""  recycle="f alse" acti onBar="fal se" contex tMenu="fal se" infoPa nel="false "></contex t><selecti onContext  dir="true"  file="tru e" recycle ="false" u nique="tru e" image=" " mp3="" e ditable="" ></selecti onContext> </gui>   667                             <gui t ext="6" ti tle="158"  src="appli x.png" acc essKey="re name_acces s_key"><co ntext sele ction="tru e" dir=""  recycle="f alse" acti onBar="fal se" contex tMenu="fal se" infoPa nel="false "></contex t><selecti onContext  dir="true"  file="tru e" recycle ="false" u nique="tru e" image=" " mp3="" e ditable="" ></selecti onContext> </gui>
630                             <right sContext n oUser="tru e" userLog ged="only"  read="tru e" write=" false" adm inOnly=""> </rightsCo ntext>   668                             <right sContext n oUser="tru e" userLog ged="only"  read="tru e" write=" false" adm inOnly=""> </rightsCo ntext>
631                             <proce ssing>   669                             <proce ssing>
632                                      <clientC allback><! [CDATA[   670                                      <clientC allback><! [CDATA[
633                                               // PUT HER E CODE TO  EXECUTE IN  JAVASCRIP T   671                                               // PUT HER E CODE TO  EXECUTE IN  JAVASCRIP T
634                                               ]]></clien tCallback>   672                                               ]]></clien tCallback>
635                                      <serverC allback me thodName=" switchActi on"></serv erCallback >   673                                      <serverC allback me thodName=" switchActi on"></serv erCallback >
636                                      </proces sing>   674                                      </proces sing>
637                    </ac tion>                                                       675                    </ac tion>                                                    
638           </ actions>   676           </ actions>
639           <i nfoPanels>   677           <i nfoPanels>
640                    <inf oPanel mim e="no_sele ction" att ributes="" >   678                    <inf oPanel mim e="no_sele ction" att ributes="" >
641                             <messa ges>   679                             <messa ges>
642                                      <message  key="fold ers_string " id="130" />   680                                      <message  key="fold ers_string " id="130" />
643                                      <message  key="file s_string"  id="265"/>   681                                      <message  key="file s_string"  id="265"/>
644                                      <message  key="tota lsize_stri ng" id="25 9"/>   682                                      <message  key="tota lsize_stri ng" id="25 9"/>
645                             </mess ages>   683                             </mess ages>
646                             <html> <![CDATA[   684                             <html> <![CDATA[
647                                      <div sty le="paddin g:10px;">   685                                      <div sty le="paddin g:10px;">
648                                               <big style ="font-wei ght: bold;  font-size : 14px; co lor:#79f;d isplay: bl ock; text- align:cent er; paddin g-bottom:2 0px;">   686                                               <big style ="font-wei ght: bold;  font-size : 14px; co lor:#79f;d isplay: bl ock; text- align:cent er; paddin g-bottom:2 0px;">
649                                                       <i mg width=" 16" hspace ="5" heigh t="16" bor der="0" al ign="absmi ddle" src= "AJXP_CLIE NT_RESOURC ES_FOLDER/ images/cry stal/mimes /16/folder .png"/>#{c urrent_fol der}   687                                                       <i mg width=" 16" hspace ="5" heigh t="16" bor der="0" al ign="absmi ddle" src= "AJXP_CLIE NT_RESOURC ES_FOLDER/ images/cry stal/mimes /16/folder .png"/>#{c urrent_fol der}
650                                               </big>   688                                               </big>
651                                               <b>#{folde rs_string} </b> : #{f ilelist_fo lders_coun t}   689                                               <b>#{folde rs_string} </b> : #{f ilelist_fo lders_coun t}
652                                               <br><b>#{f iles_strin g}</b> : # {filelist_ files_coun t}   690                                               <br><b>#{f iles_strin g}</b> : # {filelist_ files_coun t}
653                                               <br><b>#{t otalsize_s tring}</b>  #{filelis t_totalsiz e}   691                                               <br><b>#{t otalsize_s tring}</b>  #{filelis t_totalsiz e}
654                                      </div>   692                                      </div>
655                             ]]></h tml>   693                             ]]></h tml>
656                    </in foPanel>   694                    </in foPanel>
657                    <inf oPanel mim e="generic _file" att ributes="b asename,ic on,filesiz e,mimestri ng,modifti me">   695                    <inf oPanel mim e="generic _file" att ributes="b asename,ic on,filesiz e,mimestri ng,modifti me">
658                             <messa ges>   696                             <messa ges>
659                                      <message  key="name _string" i d="133"/>   697                                      <message  key="name _string" i d="133"/>
660                                      <message  key="size _string" i d="127"/>   698                                      <message  key="size _string" i d="127"/>
661                                      <message  key="type _string" i d="134"/>   699                                      <message  key="type _string" i d="134"/>
662                                      <message  key="modi f_string"  id="138"/>   700                                      <message  key="modi f_string"  id="138"/>
663                             </mess ages>   701                             </mess ages>
664                             <html> <![CDATA[   702                             <html> <![CDATA[
665                             <div s tyle="padd ing:10px;" >   703                             <div s tyle="padd ing:10px;" >
666                                      <div cla ss="folder Image">   704                                      <div cla ss="folder Image">
667                                               <img src=" AJXP_CLIEN T_RESOURCE S_FOLDER/i mages/crys tal/mimes/ 64/#{icon} " height=" 64" width= "64">   705                                               <img src=" AJXP_CLIEN T_RESOURCE S_FOLDER/i mages/crys tal/mimes/ 64/#{icon} " height=" 64" width= "64">
668                                      </div>   706                                      </div>
669                                      <b>#{nam e_string}< /b> : #{ba sename}   707                                      <b>#{nam e_string}< /b> : #{ba sename}
670                                      <br><b># {size_stri ng}</b> :  #{filesize }   708                                      <br><b># {size_stri ng}</b> :  #{filesize }
671                                      <br><b># {type_stri ng}</b> :  #{mimestri ng}   709                                      <br><b># {type_stri ng}</b> :  #{mimestri ng}
672                                      <br><b># {modif_str ing}</b> :  #{modifti me}   710                                      <br><b># {modif_str ing}</b> :  #{modifti me}
673                             </div>   711                             </div>
674                             ]]></h tml>   712                             ]]></h tml>
675                    </in foPanel>   713                    </in foPanel>
676                    <inf oPanel mim e="generic _dir" attr ibutes="ba sename,ico n,modiftim e">   714                    <inf oPanel mim e="generic _dir" attr ibutes="ba sename,ico n,modiftim e">
677                             <messa ges>   715                             <messa ges>
678                                      <message  key="name _string" i d="133"/>   716                                      <message  key="name _string" i d="133"/>
679                                      <message  key="modi f_string"  id="138"/>   717                                      <message  key="modi f_string"  id="138"/>
680                             </mess ages>   718                             </mess ages>
681                             <html> <![CDATA[   719                             <html> <![CDATA[
682                                      <div sty le="paddin g:10px;">   720                                      <div sty le="paddin g:10px;">
683                                               <div class ="folderIm age">   721                                               <div class ="folderIm age">
684                                                       <i mg src="AJ XP_CLIENT_ RESOURCES_ FOLDER/ima ges/crysta l/mimes/64 /#{icon}"  height="64 " width="6 4">   722                                                       <i mg src="AJ XP_CLIENT_ RESOURCES_ FOLDER/ima ges/crysta l/mimes/64 /#{icon}"  height="64 " width="6 4">
685                                               </div>   723                                               </div>
686                                               <b>#{name_ string}</b > : #{base name}   724                                               <b>#{name_ string}</b > : #{base name}
687                                               <br><b>#{m odif_strin g}</b> : # {modiftime }   725                                               <br><b>#{m odif_strin g}</b> : # {modiftime }
688                                      </div>   726                                      </div>
689                             ]]></h tml>   727                             ]]></h tml>
690                    </in foPanel>   728                    </in foPanel>
691                    <inf oPanel mim e="AJXP_MI MES_IMAGE"  attribute s="basenam e,filename ,compute_i mage_dimen sions,imag e_width,im age_height ,image_typ e,filesize ,mimestrin g,modiftim e">   729                    <inf oPanel mim e="AJXP_MI MES_IMAGE"  attribute s="basenam e,filename ,compute_i mage_dimen sions,imag e_width,im age_height ,image_typ e,filesize ,mimestrin g,modiftim e">
692                             <messa ges>   730                             <messa ges>
693                                      <message  key="name _string" i d="133"/>   731                                      <message  key="name _string" i d="133"/>
694                                      <message  key="size _string" i d="127"/>   732                                      <message  key="size _string" i d="127"/>
695                                      <message  key="type _string" i d="134"/>                                 733                                      <message  key="type _string" i d="134"/>                              
696                                      <message  key="modi f_string"  id="138"/>   734                                      <message  key="modi f_string"  id="138"/>
697                                      <message  key="dim_ string" id ="135"/>   735                                      <message  key="dim_ string" id ="135"/>
698                             </mess ages>   736                             </mess ages>
699                             <html> <![CDATA[   737                             <html> <![CDATA[
700                                      <div sty le="paddin g:10px;">   738                                      <div sty le="paddin g:10px;">
701                                               <center st yle="borde r:1px soli d #aaa; ma rgin-botto m: 5px;">   739                                               <center st yle="borde r:1px soli d #aaa; ma rgin-botto m: 5px;">
702                                                       <i mg 
src="conte nt.php?act ion=image_ proxy&get_ thumb=true &file=#{fi lename}" # {compute_i mage_dimen sions}>
  740                                                       <i mg  id='imgThu mb'  src="conte nt.php?act ion=image_ proxy&get_ thumb=true &file=#{fi lename}" # {compute_i mage_dimen sions}>
        741                                                       <s cript lang uage="java script">$( 'imgThumb' ).src = "c ontent.php ?action=im age_proxy& get_thumb= true&file= " + ((deco deURI('#{f ilename}') =='#{filen ame}')?enc odeURI('#{ filename}' ):'#{filen ame}');</s cript>
703                                               </center>   742                                               </center>
704                                               <b>#{name_ string}</b > : #{base name}   743                                               <b>#{name_ string}</b > : #{base name}
705                                               <br><b>#{d im_string} </b> : #{i mage_width }px X #{im age_height }px   744                                               <br><b>#{d im_string} </b> : #{i mage_width }px X #{im age_height }px
706                                               <br><b>#{s ize_string }</b> : #{ filesize}   745                                               <br><b>#{s ize_string }</b> : #{ filesize}
707                                               <br><b>#{t ype_string }</b> : #{ image_type }   746                                               <br><b>#{t ype_string }</b> : #{ image_type }
708                                               <br><b>#{m odif_strin g}</b> : # {modiftime }   747                                               <br><b>#{m odif_strin g}</b> : # {modiftime }
709                                      </div>   748                                      </div>
710                             ]]></h tml>   749                             ]]></h tml>
711                    </in foPanel>   750                    </in foPanel>
712                    <inf oPanel mim e="AJXP_MI MES_AUDIO"  attribute s="basenam e,encoded_ filename,i con,filesi ze,mimestr ing,modift ime">   751                    <inf oPanel mim e="AJXP_MI MES_AUDIO"  attribute s="basenam e,encoded_ filename,i con,filesi ze,mimestr ing,modift ime">
713                             <messa ges>   752                             <messa ges>
714                                      <message  key="name _string" i d="133"/>   753                                      <message  key="name _string" i d="133"/>
715                                      <message  key="size _string" i d="127"/>   754                                      <message  key="size _string" i d="127"/>
716                                      <message  key="type _string" i d="134"/>                                 755                                      <message  key="type _string" i d="134"/>                              
717                                      <message  key="modi f_string"  id="138"/>   756                                      <message  key="modi f_string"  id="138"/>
718                             </mess ages>   757                             </mess ages>
719                             <html> <![CDATA[   758                             <html> <![CDATA[
720                                      <div sty le="paddin g:10px;">   759                                      <div sty le="paddin g:10px;">
721                                               <div id="m p3_contain er" style= "text-alig n:center;  padding:5p x; width:1 60px;margi n-bottom:  5px;">   760                                               <div id="m p3_contain er" style= "text-alig n:center;  padding:5p x; width:1 60px;margi n-bottom:  5px;">
722                                                       <o bject type ="applicat ion/x-shoc kwave-flas h" data="A JXP_CLIENT _RESOURCES _FOLDER/fl ash/dewpla yer-mini.s wf?mp3=con tent.php?a ction=mp3_ proxy%26fi le=#{encod ed_filenam e}&amp;bgc olor=FFFFF F&amp;show time=1" wi dth="150"  height="20 "><param n ame="wmode " value="t ransparent "><param n ame="movie " value="A JXP_CLIENT _RESOURCES _FOLDER/fl ash/dewpla yer-mini.s wf?mp3=con tent.php?a ction=mp3_ proxy%26fi le=#{encod ed_filenam e}&amp;bgc olor=FFFFF F&amp;show time=1" /> </object>   761                                                       <o bject type ="applicat ion/x-shoc kwave-flas h" data="A JXP_CLIENT _RESOURCES _FOLDER/fl ash/dewpla yer-mini.s wf?mp3=con tent.php?a ction=mp3_ proxy%26fi le=#{encod ed_filenam e}&amp;bgc olor=FFFFF F&amp;show time=1" wi dth="150"  height="20 "><param n ame="wmode " value="t ransparent "><param n ame="movie " value="A JXP_CLIENT _RESOURCES _FOLDER/fl ash/dewpla yer-mini.s wf?mp3=con tent.php?a ction=mp3_ proxy%26fi le=#{encod ed_filenam e}&amp;bgc olor=FFFFF F&amp;show time=1" /> </object>
723                                               </div>   762                                               </div>
724                                               <b>#{name_ string}</b > : #{base name}   763                                               <b>#{name_ string}</b > : #{base name}
725                                               <br><b>#{s ize_string }</b> : #{ filesize}   764                                               <br><b>#{s ize_string }</b> : #{ filesize}
726                                               <br><b>#{t ype_string }</b> : #{ mimestring }   765                                               <br><b>#{t ype_string }</b> : #{ mimestring }
727                                               <br><b>#{m odif_strin g}</b> : # {modiftime }   766                                               <br><b>#{m odif_strin g}</b> : # {modiftime }
728                                      </div>   767                                      </div>
729                             ]]></h tml>   768                             ]]></h tml>
730                    </in foPanel>   769                    </in foPanel>
731                    <inf oPanel mim e="flv" at tributes=" basename,e ncoded_fil ename,icon ,filesize, mimestring ,modiftime ,uri">   770                    <inf oPanel mim e="flv" at tributes=" basename,e ncoded_fil ename,icon ,filesize, mimestring ,modiftime ,uri">
732                             <html> <![CDATA[   771                             <html> <![CDATA[
733                                      <div sty le="paddin g:10px;">   772                                      <div sty le="paddin g:10px;">
734                                               <center st yle="borde r:1px soli d #aaa; ma rgin-botto m: 5px;">   773                                               <center st yle="borde r:1px soli d #aaa; ma rgin-botto m: 5px;">
735                                               <object cl assid="cls id:D27CDB6 E-AE6D-11c f-96B8-444 553540000"  codebase= "http://do wnload.mac romedia.co m/pub/shoc kwave/cabs /flash/swf lash.cab#v ersion=7,0 ,19,0" wid th="100%"  height="20 0">   774                                               <object cl assid="cls id:D27CDB6 E-AE6D-11c f-96B8-444 553540000"  codebase= "http://do wnload.mac romedia.co m/pub/shoc kwave/cabs /flash/swf lash.cab#v ersion=7,0 ,19,0" wid th="100%"  height="20 0">
736                                                       <p aram name= "movie" va lue="AJXP_ CLIENT_RES OURCES_FOL DER/flash/ mcmp.swf">   775                                                       <p aram name= "movie" va lue="AJXP_ CLIENT_RES OURCES_FOL DER/flash/ mcmp.swf">
737                                                       <p aram name= "allowScri ptAccess"  value="alw ays">   776                                                       <p aram name= "allowScri ptAccess"  value="alw ays">
738                                                       <p aram name= "quality"  value="hig h">   777                                                       <p aram name= "quality"  value="hig h">
739                                                       <p aram name= "allowFull Screen" va lue="true" >   778                                                       <p aram name= "allowFull Screen" va lue="true" >
740                                                       <p aram name= "FlashVars " value="f pFileURL=# {uri}/cont ent.php?ac tion=downl oad%26file =#{encoded _filename} &fpButtonS ize=50x50& cpBackgrou ndOpacity= 40&cpHideP anel=mouse out&cpHide Delay=10">   779                                                       <p aram name= "FlashVars " value="f pFileURL=# {uri}/cont ent.php?ac tion=downl oad%26file =#{encoded _filename} &fpButtonS ize=50x50& cpBackgrou ndOpacity= 40&cpHideP anel=mouse out&cpHide Delay=10">
741                                                       <e mbed src=" AJXP_CLIEN T_RESOURCE S_FOLDER/f lash/mcmp. swf" width ="100%" he ight="200"  quality=" high" allo wFullScree n="true" a llowscript access="al ways" plug inspage="h ttp://www. macromedia .com/go/ge tflashplay er" type=" applicatio n/x-shockw ave-flash"  FlashVars ="fpFileUR L=#{uri}/c ontent.php ?action=do wnload%26f ile=#{enco ded_filena me}&fpButt onSize=50x 50&cpBackg roundOpaci ty=40&cpHi dePanel=mo useout&cpH ideDelay=1 0"></embed >   780                                                       <e mbed src=" AJXP_CLIEN T_RESOURCE S_FOLDER/f lash/mcmp. swf" width ="100%" he ight="200"  quality=" high" allo wFullScree n="true" a llowscript access="al ways" plug inspage="h ttp://www. macromedia .com/go/ge tflashplay er" type=" applicatio n/x-shockw ave-flash"  FlashVars ="fpFileUR L=#{uri}/c ontent.php ?action=do wnload%26f ile=#{enco ded_filena me}&fpButt onSize=50x 50&cpBackg roundOpaci ty=40&cpHi dePanel=mo useout&cpH ideDelay=1 0"></embed >
742                                               </object>   781                                               </object>
743                                               </center>   782                                               </center>
744                                      </div>   783                                      </div>
745                             ]]></h tml>   784                             ]]></h tml>
746                    </in foPanel>   785                    </in foPanel>
747           </ infoPanels >   786           </ infoPanels >
748   </driver>   787   </driver>