Dotclear


Ignore:
Files:
1 deleted
11 edited

Legend:

Unmodified
Added
Removed
  • admin/_charte.php

    r2504 r2501  
    3131     <script type="text/javascript" src="js/jquery/jquery.js"></script> 
    3232     <script type="text/javascript" src="js/jquery/jquery-ui.custom.js"></script> 
    33      <script type="text/javascript" src="js/jquery/jquery.ui.touch-punch.js"></script> 
    3433     <script type="text/javascript" src="js/jquery/jquery.pageTabs.js"></script> 
    3534     <script type="text/javascript" src="js/jquery/jquery.biscuit.js"></script> 
  • admin/categories.php

    r2496 r2464  
    109109     && $rs->count()>1) { 
    110110          $starting_script .= dcPage::jsLoad('js/jquery/jquery-ui.custom.js'); 
    111           $starting_script .= dcPage::jsLoad('js/jquery/jquery.ui.touch-punch.js'); 
    112111          $starting_script .= dcPage::jsLoad('js/jquery/jquery.mjs.nestedSortable.js'); 
    113112} 
  • admin/preferences.php

    r2496 r2449  
    4747$default_tab = !empty($_GET['tab']) ? html::escapeHTML($_GET['tab']) : 'user-profile'; 
    4848 
    49 if (!empty($_GET['append']) || !empty($_GET['removed']) || !empty($_GET['neworder']) || 
    50      !empty($_GET['replaced']) || !empty($_POST['appendaction']) || !empty($_POST['removeaction']) || 
     49if (!empty($_GET['append']) || !empty($_GET['removed']) || !empty($_GET['neworder']) ||  
     50     !empty($_GET['replaced']) || !empty($_POST['appendaction']) || !empty($_POST['removeaction']) ||  
    5151     !empty($_GET['db-updated'])) { 
    5252     $default_tab = 'user-favorites'; 
     
    8484     { 
    8585          $pwd_check = !empty($_POST['cur_pwd']) && $core->auth->checkPassword(crypt::hmac(DC_MASTER_KEY,$_POST['cur_pwd'])); 
    86  
     86           
    8787          if ($core->auth->allowPassChange() && !$pwd_check && $user_email != $_POST['user_email']) { 
    8888               throw new Exception(__('If you want to change your email or password you must provide your current password.')); 
    8989          } 
    90  
     90           
    9191          $cur = $core->con->openCursor($core->prefix.'user'); 
    92  
     92           
    9393          $cur->user_name = $user_name = $_POST['user_name']; 
    9494          $cur->user_firstname = $user_firstname = $_POST['user_firstname']; 
     
    100100 
    101101          $cur->user_options = new ArrayObject($user_options); 
    102  
     102           
    103103          if ($core->auth->allowPassChange() && !empty($_POST['new_pwd'])) 
    104104          { 
     
    106106                    throw new Exception(__('If you want to change your email or password you must provide your current password.')); 
    107107               } 
    108  
     108                
    109109               if ($_POST['new_pwd'] != $_POST['new_pwd_c']) { 
    110110                    throw new Exception(__("Passwords don't match")); 
    111111               } 
    112  
     112                
    113113               $cur->user_pwd = $_POST['new_pwd']; 
    114114          } 
    115  
     115           
    116116          # --BEHAVIOR-- adminBeforeUserUpdate 
    117117          $core->callBehavior('adminBeforeUserProfileUpdate',$cur,$core->auth->userID()); 
    118  
     118           
    119119          # Udate user 
    120120          $core->updUser($core->auth->userID(),$cur); 
    121  
     121           
    122122          # --BEHAVIOR-- adminAfterUserUpdate 
    123123          $core->callBehavior('adminAfterUserProfileUpdate',$cur,$core->auth->userID()); 
    124  
     124           
    125125          dcPage::addSuccessNotice(__('Personal information has been successfully updated.')); 
    126126 
     
    134134 
    135135# Update user options 
    136 if (isset($_POST['user_post_format'])) 
     136if (isset($_POST['user_post_format']))  
    137137{ 
    138138     try 
    139139     { 
    140140          $cur = $core->con->openCursor($core->prefix.'user'); 
    141  
     141           
    142142          $cur->user_name = $user_name; 
    143143          $cur->user_firstname = $user_firstname; 
     
    149149 
    150150          $cur->user_post_status = $user_post_status = $_POST['user_post_status']; 
    151  
     151           
    152152          $user_options['edit_size'] = (integer) $_POST['user_edit_size']; 
    153153          if ($user_options['edit_size'] < 1) { 
     
    156156          $user_options['post_format'] = $_POST['user_post_format']; 
    157157          $user_options['enable_wysiwyg'] = !empty($_POST['user_wysiwyg']); 
    158  
     158           
    159159          $cur->user_options = new ArrayObject($user_options); 
    160  
     160           
    161161          # --BEHAVIOR-- adminBeforeUserOptionsUpdate 
    162162          $core->callBehavior('adminBeforeUserOptionsUpdate',$cur,$core->auth->userID()); 
    163  
     163           
    164164          # Update user prefs 
    165165          $core->auth->user_prefs->accessibility->put('nodragdrop',!empty($_POST['user_acc_nodragdrop']),'boolean'); 
     
    170170          } 
    171171          $core->auth->user_prefs->interface->put('media_by_page',(integer)$_POST['user_ui_media_by_page'],'integer'); 
    172  
     172           
    173173          # Udate user 
    174174          $core->updUser($core->auth->userID(),$cur); 
    175  
     175           
    176176          # --BEHAVIOR-- adminAfterUserOptionsUpdate 
    177177          $core->callBehavior('adminAfterUserOptionsUpdate',$cur,$core->auth->userID()); 
    178  
     178           
    179179          dcPage::addSuccessNotice(__('Personal options has been successfully updated.')); 
    180180          http::redirect('preferences.php#user-options'); 
     
    192192          # --BEHAVIOR-- adminBeforeUserOptionsUpdate 
    193193          $core->callBehavior('adminBeforeDashboardOptionsUpdate',$core->auth->userID()); 
    194  
     194           
    195195          # Update user prefs 
    196196          $core->auth->user_prefs->dashboard->put('doclinks',!empty($_POST['user_dm_doclinks']),'boolean'); 
     
    199199          $core->auth->user_prefs->interface->put('iconset',(!empty($_POST['user_ui_iconset']) ? $_POST['user_ui_iconset'] : '')); 
    200200          $core->auth->user_prefs->interface->put('nofavmenu',empty($_POST['user_ui_nofavmenu']),'boolean'); 
    201  
     201           
    202202          # --BEHAVIOR-- adminAfterUserOptionsUpdate 
    203203          $core->callBehavior('adminAfterDashboardOptionsUpdate',$core->auth->userID()); 
    204  
     204           
    205205          dcPage::addSuccessNotice(__('Dashboard options has been successfully updated.')); 
    206206          http::redirect('preferences.php#user-favorites'); 
     
    213213 
    214214# Add selected favorites 
    215 if (!empty($_POST['appendaction'])) 
     215if (!empty($_POST['appendaction']))  
    216216{ 
    217217     try { 
     
    280280               unset($order[$k]); 
    281281          } 
    282      } 
     282     }     
    283283     $core->favs->setFavoriteIDs($order,false); 
    284284     if (!$core->error->flag()) { 
     
    305305     ($user_acc_nodragdrop ? '' : dcPage::jsLoad('js/_preferences-dragdrop.js')). 
    306306     dcPage::jsLoad('js/jquery/jquery-ui.custom.js'). 
    307      dcPage::jsLoad('js/jquery/jquery.ui.touch-punch.js'). 
    308307     dcPage::jsLoad('js/jquery/jquery.pwstrength.js'). 
    309308          '<script type="text/javascript">'."\n". 
     
    321320     dcPage::jsPageTabs($default_tab). 
    322321     dcPage::jsConfirmClose('user-form'). 
    323  
     322      
    324323     # --BEHAVIOR-- adminPreferencesHeaders 
    325324     $core->callBehavior('adminPreferencesHeaders'), 
     
    387386     echo 
    388387     '<h4 class="vertical-separator pretty-title">'.__('Change my password').'</h4>'. 
    389  
     388      
    390389     '<div class="pw-table">'. 
    391390     '<p class="pw-cell"><label for="new_pwd">'.__('New password:').'</label>'. 
     
    396395     '</div>'. 
    397396     '</div>'. 
    398  
     397      
    399398     '<p><label for="new_pwd_c">'.__('Confirm new password:').'</label>'. 
    400399     form::password('new_pwd_c',20,255).'</p>'. 
    401  
     400      
    402401     '<p><label for="cur_pwd">'.__('Your current password:').'</label>'. 
    403402     form::password('cur_pwd',20,255).'</p>'. 
     
    590589 
    591590if (count($iconsets_combo) > 1) { 
    592      echo 
     591     echo  
    593592          '<div class="fieldset">'. 
    594593          '<h4>'.__('Dashboard icons').'</h4>'. 
  • inc/core/class.dc.namespace.php

    r2505 r1179  
    2222     protected $table;        ///< <b>string</b> Settings table name 
    2323     protected $blog_id;      ///< <b>string</b> Blog ID 
    24  
     24      
    2525     protected $global_settings = array();   ///< <b>array</b> Global settings array 
    2626     protected $local_settings = array();    ///< <b>array</b> Local settings array 
    2727     protected $settings = array();          ///< <b>array</b> Associative settings array 
    2828     protected $ns;           ///< <b>string</b> Current namespace 
    29  
     29      
    3030     /** 
    3131     Object constructor. Retrieves blog settings and puts them in $settings 
    3232     array. Local (blog) settings have a highest priority than global settings. 
    33  
     33      
    3434     @param    name      <b>string</b>       ID for this namespace 
    3535     */ 
     
    4141               throw new Exception(sprintf(__('Invalid setting dcNamespace: %s'),$name)); 
    4242          } 
    43  
     43           
    4444          $this->con =& $core->con; 
    4545          $this->table = $core->prefix.'setting'; 
    4646          $this->blog_id =& $blog_id; 
    47  
     47           
    4848          $this->getSettings($rs); 
    4949     } 
    50  
     50      
    5151     private function getSettings($rs=null) 
    52      { 
     52     {     
    5353          if ($rs == null) { 
    5454               $strReq = 'SELECT blog_id, setting_id, setting_value, '. 
     
    5959                         "AND setting_ns = '".$this->con->escape($this->ns)."' ". 
    6060                         'ORDER BY setting_id DESC '; 
    61  
     61           
    6262               try { 
    6363                    $rs = $this->con->select($strReq); 
     
    7474               $value = $rs->f('setting_value'); 
    7575               $type = $rs->f('setting_type'); 
    76  
     76                
    7777               if ($type == 'float' || $type == 'double') { 
    7878                    $type = 'float'; 
     
    8080                    $type = 'string'; 
    8181               } 
    82  
     82                
    8383               settype($value,$type); 
    84  
     84                
    8585               $array = $rs->blog_id ? 'local' : 'global'; 
    86  
     86                
    8787               $this->{$array.'_settings'}[$id] = array( 
    8888                    'ns' => $this->ns, 
     
    9393               ); 
    9494          } 
    95  
     95           
    9696          $this->settings = $this->global_settings; 
    97  
     97           
    9898          foreach ($this->local_settings as $id => $v) { 
    9999               $this->settings[$id] = $v; 
    100100          } 
    101  
     101           
    102102          return true; 
    103103     } 
    104  
     104      
    105105     private function settingExists($id,$global=false) 
    106106     { 
     
    108108          return isset($this->{$array.'_settings'}[$id]); 
    109109     } 
    110  
     110      
    111111     /** 
    112112     Returns setting value if exists. 
    113  
     113      
    114114     @param    n         <b>string</b>       Setting name 
    115115     @return   <b>mixed</b> 
     
    120120               return $this->settings[$n]['value']; 
    121121          } 
    122  
     122           
    123123          return null; 
    124124     } 
    125  
    126      /** 
    127      Returns global setting value if exists. 
    128  
    129      @param    n         <b>string</b>       setting name 
    130      @return   <b>mixed</b> 
    131      */ 
    132      public function getGlobal($n) 
    133      { 
    134           if (isset($this->global_settings[$n]['value'])) { 
    135                return $this->global_settings[$n]['value']; 
    136           } 
    137  
    138           return null; 
    139      } 
    140  
    141      /** 
    142      Returns local setting value if exists. 
    143  
    144      @param    n         <b>string</b>       setting name 
    145      @return   <b>mixed</b> 
    146      */ 
    147      public function getLocal($n) 
    148      { 
    149           if (isset($this->local_settings[$n]['value'])) { 
    150                return $this->local_settings[$n]['value']; 
    151           } 
    152  
    153           return null; 
    154      } 
    155  
     125      
    156126     /** 
    157127     Magic __get method. 
     
    162132          return $this->get($n); 
    163133     } 
    164  
     134      
    165135     /** 
    166136     Sets a setting in $settings property. This sets the setting for script 
    167137     execution time only and if setting exists. 
    168  
     138      
    169139     @param    n         <b>string</b>       Setting name 
    170140     @param    v         <b>mixed</b>        Setting value 
     
    176146          } 
    177147     } 
    178  
     148      
    179149     /** 
    180150     Magic __set method. 
     
    185155          $this->set($n,$v); 
    186156     } 
    187  
     157      
    188158     /** 
    189159     Creates or updates a setting. 
    190  
     160      
    191161     $type could be 'string', 'integer', 'float', 'boolean' or null. If $type is 
    192162     null and setting exists, it will keep current setting type. 
    193  
     163      
    194164     $value_change allow you to not change setting. Useful if you need to change 
    195165     a setting label or type and don't want to change its value. 
    196  
     166      
    197167     @param    id             <b>string</b>       Setting ID 
    198168     @param    value          <b>mixed</b>        Setting value 
     
    207177               throw new Exception(sprintf(__('%s is not a valid setting id'),$id)); 
    208178          } 
    209  
     179           
    210180          # We don't want to change setting value 
    211181          if (!$value_change) 
     
    217187               } 
    218188          } 
    219  
     189           
    220190          # Setting type 
    221191          if ($type == 'double') 
     
    237207               $type = 'string'; 
    238208          } 
    239  
     209           
    240210          # We don't change label 
    241211          if ($label == null) 
     
    247217               } 
    248218          } 
    249  
     219           
    250220          settype($value,$type); 
    251  
     221           
    252222          $cur = $this->con->openCursor($this->table); 
    253223          $cur->setting_value = ($type == 'boolean') ? (string) (integer) $value : (string) $value; 
    254224          $cur->setting_type = $type; 
    255225          $cur->setting_label = $label; 
    256  
     226           
    257227          #If we are local, compare to global value 
    258228          if (!$global && $this->settingExists($id,true)) 
     
    261231               $same_setting = $g['ns'] == $this->ns && $g['value'] == $value 
    262232               && $g['type'] == $type && $g['label'] == $label; 
    263  
     233                
    264234               # Drop setting if same value as global 
    265235               if ($same_setting && $this->settingExists($id,false)) { 
     
    269239               } 
    270240          } 
    271  
     241           
    272242          if ($this->settingExists($id,$global) && $this->ns == $this->settings[$id]['ns']) 
    273243          { 
     
    277247                    $where = "WHERE blog_id = '".$this->con->escape($this->blog_id)."' "; 
    278248               } 
    279  
     249                
    280250               $cur->update($where."AND setting_id = '".$this->con->escape($id)."' AND setting_ns = '".$this->con->escape($this->ns)."' "); 
    281251          } 
     
    285255               $cur->blog_id = $global ? null : $this->blog_id; 
    286256               $cur->setting_ns = $this->ns; 
    287  
     257                
    288258               $cur->insert(); 
    289259          } 
     
    302272               throw new Exception(__('No namespace specified')); 
    303273          } 
    304  
     274           
    305275          if (!array_key_exists($oldId,$this->settings) || array_key_exists($newId,$this->settings)) { 
    306276               return false; 
     
    321291 
    322292     /** 
    323      Removes an existing setting in a Namespace 
    324  
     293     Removes an existing setting in a Namespace  
     294      
    325295     @param    id        <b>string</b>       Setting ID 
    326296     */ 
     
    330300               throw new Exception(__('No namespace specified')); 
    331301          } 
    332  
     302           
    333303          $strReq = 'DELETE FROM '.$this->table.' '; 
    334  
     304           
    335305          if ($this->blog_id === null) { 
    336306               $strReq .= 'WHERE blog_id IS NULL '; 
     
    338308               $strReq .= "WHERE blog_id = '".$this->con->escape($this->blog_id)."' "; 
    339309          } 
    340  
     310           
    341311          $strReq .= "AND setting_id = '".$this->con->escape($id)."' "; 
    342312          $strReq .= "AND setting_ns = '".$this->con->escape($this->ns)."' "; 
    343  
     313           
    344314          $this->con->execute($strReq); 
    345315     } 
    346  
    347      /** 
    348      Removes all existing settings in a Namespace 
    349  
     316      
     317     /** 
     318     Removes all existing settings in a Namespace  
     319      
    350320     @param    force_global   <b>boolean</b> Force global pref drop 
    351321     */ 
     
    355325               throw new Exception(__('No namespace specified')); 
    356326          } 
    357  
     327           
    358328          $strReq = 'DELETE FROM '.$this->table.' '; 
    359  
     329           
    360330          if (($force_global) || ($this->blog_id === null)) { 
    361331               $strReq .= 'WHERE blog_id IS NULL '; 
     
    365335               $global = false; 
    366336          } 
    367  
     337           
    368338          $strReq .= "AND setting_ns = '".$this->con->escape($this->ns)."' "; 
    369  
     339           
    370340          $this->con->execute($strReq); 
    371  
     341           
    372342          $array = $global ? 'global' : 'local'; 
    373343          unset($this->{$array.'_settings'}); 
    374344          $this->{$array.'_settings'} = array(); 
    375  
     345           
    376346          $array = $global ? 'local' : 'global'; 
    377347          $this->settings = $this->{$array.'_settings'}; 
    378348     } 
    379  
     349      
    380350     /** 
    381351     Returns $settings property content. 
    382  
     352      
    383353     @return   <b>array</b> 
    384354     */ 
     
    387357          return $this->settings; 
    388358     } 
    389  
     359      
    390360     /** 
    391361     Returns $global_settings property content. 
    392  
     362      
    393363     @return   <b>array</b> 
    394364     */ 
  • inc/prepend.php

    r2496 r2492  
    135135# Constants 
    136136define('DC_ROOT',path::real(dirname(__FILE__).'/..')); 
    137 define('DC_VERSION','2.7-dev'); 
     137define('DC_VERSION','2.6-RC'); 
    138138define('DC_DIGESTS',dirname(__FILE__).'/digests'); 
    139139define('DC_L10N_ROOT',dirname(__FILE__).'/../locales'); 
  • plugins/antispam/index.php

    r2495 r2322  
    117117     echo 
    118118          dcPage::jsLoad('js/jquery/jquery-ui.custom.js'). 
    119           dcPage::jsLoad('js/jquery/jquery.ui.touch-punch.js'). 
    120119          dcPage::jsLoad('index.php?pf=antispam/antispam.js'); 
    121120  } 
  • plugins/blogroll/index.php

    r2495 r2256  
    2727{ 
    2828     $default_tab = 'import-links'; 
    29  
     29      
    3030     try 
    3131     { 
     
    3535               throw new Exception(__('Unable to move uploaded file.')); 
    3636          } 
    37  
     37           
    3838          require_once dirname(__FILE__).'/class.dc.importblogroll.php'; 
    3939          try { 
     
    4444               throw $e; 
    4545          } 
    46  
    47  
     46           
     47           
    4848          if (empty($imported)) { 
    4949               unset($imported); 
     
    6969          } 
    7070     } 
    71  
     71      
    7272     dcPage::addSuccessNotice(__('links have been successfully imported.')); 
    73      http::redirect($p_url); 
     73     http::redirect($p_url);   
    7474} 
    7575 
    7676if (!empty($_POST['cancel_import'])) { 
    7777     $core->error->add(__('Import operation cancelled.')); 
    78      $default_tab = 'import-links'; 
     78     $default_tab = 'import-links';      
    7979} 
    8080 
     
    8686     $link_desc = $_POST['link_desc']; 
    8787     $link_lang = $_POST['link_lang']; 
    88  
     88      
    8989     try { 
    9090          $blogroll->addLink($link_title,$link_href,$link_desc,$link_lang); 
     
    102102{ 
    103103     $cat_title = $_POST['cat_title']; 
    104  
     104      
    105105     try { 
    106106          $blogroll->addCategory($cat_title); 
     
    124124          } 
    125125     } 
    126  
     126      
    127127     if (!$core->error->flag()) { 
    128128          dcPage::addSuccessNotice(__('Items have been successfully removed.')); 
     
    145145     foreach ($order as $pos => $l) { 
    146146          $pos = ((integer) $pos)+1; 
    147  
     147           
    148148          try { 
    149149               $blogroll->updateOrder($l,$pos); 
     
    152152          } 
    153153     } 
    154  
     154      
    155155     if (!$core->error->flag()) { 
    156156          dcPage::addSuccessNotice(__('Items order has been successfully updated')); 
     
    172172  <title><?php echo __('Blogroll'); ?></title> 
    173173  <?php echo dcPage::jsConfirmClose('links-form','add-link-form','add-category-form'); ?> 
    174   <?php 
     174  <?php  
    175175     $core->auth->user_prefs->addWorkspace('accessibility'); 
    176176     if (!$core->auth->user_prefs->accessibility->nodragdrop) { 
    177177     echo 
    178178          dcPage::jsLoad('js/jquery/jquery-ui.custom.js'). 
    179           dcPage::jsLoad('js/jquery/jquery.ui.touch-punch.js'). 
    180179          dcPage::jsLoad('index.php?pf=blogroll/blogroll.js'); 
    181180     } 
     
    214213{ 
    215214     $position = (string) $rs->index()+1; 
    216  
     215      
    217216     echo 
    218217     '<tr class="line" id="l_'.$rs->link_id.'">'. 
    219218     '<td class="handle minimal">'.form::field(array('order['.$rs->link_id.']'),2,5,$position,'position','',false,'title="'.__('position').'"').'</td>'. 
    220219     '<td class="minimal">'.form::checkbox(array('remove[]'),$rs->link_id,'','','',false,'title="'.__('select this link').'"').'</td>'; 
    221  
    222  
     220      
     221      
    223222     if ($rs->is_cat) 
    224223     { 
     
    236235          '<td>'.html::escapeHTML($rs->link_lang).'</td>'; 
    237236     } 
    238  
     237      
    239238     echo '</tr>'; 
    240239} 
     
    246245<p class="col"> 
    247246<?php 
    248      echo 
     247     echo  
    249248     form::hidden('links_order',''). 
    250249     form::hidden(array('p'),'blogroll'). 
     
    253252<input type="submit" name="saveorder" value="<?php echo __('Save order'); ?>" /></p> 
    254253<p class="col right"><input type="submit" class="delete" name="removeaction" 
    255       value="<?php echo __('Delete selected links'); ?>" 
     254      value="<?php echo __('Delete selected links'); ?>"  
    256255      onclick="return window.confirm(' 
    257256      <?php echo html::escapeJS(__('Are you sure you want to delete selected links?')); ?>');" /></p> 
     
    331330          '<th>'.__('Description').'</th>'. 
    332331          '</tr>'; 
    333  
     332           
    334333          $i = 0; 
    335334          foreach ($imported as $entry) { 
     
    337336               $title = html::escapeHTML($entry->title); 
    338337               $desc  = html::escapeHTML($entry->desc); 
    339  
    340                echo 
     338                
     339               echo  
    341340               '<tr><td>'.form::checkbox(array('entries[]'),$i,'','','').'</td>'. 
    342341               '<td nowrap><a href="'.$url.'">'.$title.'</a>'. 
     
    346345               '<td>'.$desc. 
    347346               '<input type="hidden" name="desc['.$i.']" value="'.$desc.'" />'. 
    348                '</td></tr>'."\n"; 
     347               '</td></tr>'."\n";             
    349348               $i++; 
    350349          } 
     
    353352          '<div class="two-cols">'. 
    354353          '<p class="col checkboxes-helpers"></p>'. 
    355  
     354           
    356355          '<p class="col right">'. 
    357356          form::hidden(array('p'),'blogroll'). 
  • plugins/pages/list.php

    r2496 r2442  
    5555  <title><?php echo __('Pages'); ?></title> 
    5656  <?php 
    57      echo 
    58           dcPage::jsLoad('js/jquery/jquery-ui.custom.js'). 
    59           dcPage::jsLoad('js/jquery/jquery.ui.touch-punch.js'). 
     57     echo dcPage::jsLoad('js/jquery/jquery-ui.custom.js'). 
    6058          dcPage::jsLoad('index.php?pf=pages/list.js'). 
    6159          '<script type="text/javascript">'. 
     
    9189     $post_list->display($page,$nb_per_page, 
    9290     '<form action="plugin.php" method="post" id="form-entries">'. 
    93  
     91      
    9492     '%s'. 
    95  
     93      
    9694     '<div class="two-cols">'. 
    9795     '<p class="col checkboxes-helpers"></p>'. 
    98  
     96      
    9997     '<p class="col right"><label for="action" class="classic">'.__('Selected pages action:').'</label> '. 
    10098     form::combo('action',$pages_actions_page->getCombo()). 
  • plugins/simpleMenu/index.php

    r2496 r2455  
    347347               echo 
    348348                    dcPage::jsLoad('js/jquery/jquery-ui.custom.js'). 
    349                     dcPage::jsLoad('js/jquery/jquery.ui.touch-punch.js'). 
    350349                    dcPage::jsLoad('index.php?pf=simpleMenu/simplemenu.js'); 
    351350          } 
  • plugins/widgets/index.php

    r2520 r2509  
    218218          echo 
    219219               dcPage::jsLoad('js/jquery/jquery-ui.custom.js'). 
    220                dcPage::jsLoad('js/jquery/jquery.ui.touch-punch.js'). 
    221220               dcPage::jsLoad('index.php?pf=widgets/widgets.js'); 
    222221  ?> 
     
    367366          $altUp = $i == 0 ? ' alt=""' : ' alt="'.__('Up the widget').'"'; 
    368367          $altDown = $i == count($widgets->elements())-1 ? ' alt=""' : ' alt="'.__('Down the widget').'"'; 
    369            
     368 
    370369          $iname = 'w['.$pr.']['.$i.']'; 
    371370 
  • themes/ductile/_prepend.php

    r2495 r1133  
    2626          if (!$core->auth->user_prefs->accessibility->nodragdrop) { 
    2727               echo 
    28                     dcPage::jsLoad('js/jquery/jquery-ui.custom.js'). 
    29                     dcPage::jsLoad('js/jquery/jquery.ui.touch-punch.js'); 
     28                    dcPage::jsLoad('js/jquery/jquery-ui.custom.js'); 
    3029                    echo <<<EOT 
    3130<script type="text/javascript"> 
Note: See TracChangeset for help on using the changeset viewer.

Sites map