X-Git-Url: http://p2p-next.cs.pub.ro/gitweb/?a=blobdiff_plain;f=application%2Fconfig%2Fp2p-tube.php;h=a35cddcae09676eb7ea3636189cc09a38147cafa;hb=e1f154780b5b004e047977b6582dd19bf85d4e4d;hp=89bd1efc1f427d89afc7f3a212fba873e40f056e;hpb=a11428ed0b4651895e27d6920c219d8d2476631c;p=living-lab-site.git diff --git a/application/config/p2p-tube.php b/application/config/p2p-tube.php index 89bd1ef..a35cddc 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. @@ -81,28 +84,75 @@ $config['default_torrent_ext'] = 'tstream'; |-------------------------------------------------------------------------- | | An associative list with the video categories of the site. IDs are used -| in DB (for example in `videos` table), and value are human-friendly names -| for categories. IDs must be numeric and must preferably start from 1. +| in DB (for example in `videos` table), and values are string identifiers +| for categories. Category names localization can be made by concatenating +| 'ui_categ_' with the value in order to obtain a language key. +| IDs must be numeric and must preferably start from 1. | */ -$config['categories'] = array(1 => 'Movies', 2 => 'TechTalks', 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; + +/* +|-------------------------------------------------------------------------- +| Video Comments per Page +|-------------------------------------------------------------------------- +| +| The number of video comments shown per page (as in video/watch). +| +*/ +$config['video_comments_per_page'] = 20; + +/* +|-------------------------------------------------------------------------- +| A list with all available languages in which the site is translated +|-------------------------------------------------------------------------- +| +| Keys are language codes and values are language names as they appear in +| languages folder. +| +*/ +$config['available_languages_list'] = array( + 'en'=>'english', + 'ro'=>'romanian' +); + +/* +|-------------------------------------------------------------------------- +| No-Reply E-mail address +|-------------------------------------------------------------------------- +| +| The e-mail address from which the users receive e-mail notifications +| like account activation e-mail or password recovery. +| +*/ +$config['noreply_email'] = 'no-reply@p2p-next.cs.pub.ro'; \ No newline at end of file