X-Git-Url: http://p2p-next.cs.pub.ro/gitweb/?a=blobdiff_plain;f=application%2Fconfig%2Fp2p-tube.php;h=a71d1b7c046279229998b3c546e7b9f78463817d;hb=3177ec9aa46ca4feeb9eda48d9b6bce66a722f42;hp=b6a6e4646963479974370bf94a410e39881302ac;hpb=c3cb1c599db718a4fd81c7df57850fced9f64c02;p=living-lab-site.git diff --git a/application/config/p2p-tube.php b/application/config/p2p-tube.php index b6a6e46..a71d1b7 100644 --- a/application/config/p2p-tube.php +++ b/application/config/p2p-tube.php @@ -14,39 +14,42 @@ $config['site_name'] = 'P2P-Next UPB LivingLab'; /* |-------------------------------------------------------------------------- -| Default Stylesheet +| Autoload Stylesheets |-------------------------------------------------------------------------- | -| Sets the default CSS that is going to be automatically added on any HTML +| Sets the default CSSs that are going to be automatically added on any HTML | page generated with 'application/views/html_begin.php' view and | HTML_head_params library. | | Do not include any path to the file! 'css/' is going to be used. | -| Leave blank for no default stylesheet. +| Use "array()" for no default stylesheet. | */ -$config['default_css'] = 'default.css'; +$config['autoload_css'] = array('default.css', + 'jquery-ui.css'); /* |-------------------------------------------------------------------------- -| Default Javascript +| Autoload Javascript |-------------------------------------------------------------------------- | -| Sets the default Javascript that is going to be automatically added in any +| Sets the default Javascripts that are going to be automatically added in any | HTML page generated with 'application/views/html_begin.php' view and | HTML_head_params library. | | Do not include any path to the file! 'js/' is going to be used. | -| Leave blank for no default javascript. +| Use "array()" for no default javascript. | */ -$config['default_js'] = ''; +$config['autoload_js'] = array('jquery.js', + 'jquery-ui.js', + 'jquery.ui.nsinstall.js'); /* |-------------------------------------------------------------------------- -| Default Video File Extension +| Default Video File Extension (OBSOLETE) |-------------------------------------------------------------------------- | | Sets the default video file extension, which must be set without '.' prefix. @@ -87,24 +90,34 @@ $config['default_torrent_ext'] = 'tstream'; | IDs must be numeric and must preferably start from 1. | */ -$config['categories'] = array(1 => 'movies', 2 => 'tech_talks', 3 => 'events', 4 => 'karaoke'); +$config['categories'] = array(1 => 'movies', 2 => 'tech-talks', 3 => 'events', 4 => 'karaoke'); /* |-------------------------------------------------------------------------- -| Videos per page +| Videos per Page |-------------------------------------------------------------------------- | | The number of video icons shown per page (as in catalog/category). | */ -$config['videos_per_page'] = 16; +$config['videos_per_page'] = 20; /* |-------------------------------------------------------------------------- -| Videos per row +| Videos per Row |-------------------------------------------------------------------------- | | The number of video icons shown on a single line (as in home page). | */ -$config['videos_per_row'] = 4; +$config['videos_per_row'] = 5; + +/* +|-------------------------------------------------------------------------- +| Search Results per Page +|-------------------------------------------------------------------------- +| +| The number of search results shown per page (as in catalog/search). +| +*/ +$config['search_results_per_page'] = 20;