X-Git-Url: http://p2p-next.cs.pub.ro/gitweb/?a=blobdiff_plain;f=application%2Fconfig%2Fp2p-tube.php;h=8eddbff3e6500a288b29f019a4215d7b6a100abb;hb=211dc651c32bb8998b3eb2fdd3a3b85fc31921ec;hp=b17610a6876f11ab936bf05a7fbb2e4ee108d0a2;hpb=0db52dbd375c6569d868015adf8f2bca1316ba6f;p=living-lab-site.git diff --git a/application/config/p2p-tube.php b/application/config/p2p-tube.php index b17610a..8eddbff 100644 --- a/application/config/p2p-tube.php +++ b/application/config/p2p-tube.php @@ -21,12 +21,12 @@ $config['site_name'] = 'P2P-Next UPB LivingLab'; | page generated with 'application/views/html_begin.php' view and | HTML_head_params library. | -| Do not include any path to the file! 'stylesheets/' is going to be used. +| Do not include any path to the file! 'css/' is going to be used. | | Leave blank for no default stylesheet. | */ -$config['default_stylesheet'] = 'default.css'; +$config['default_css'] = 'default.css'; /* |-------------------------------------------------------------------------- @@ -37,16 +37,16 @@ $config['default_stylesheet'] = 'default.css'; | HTML page generated with 'application/views/html_begin.php' view and | HTML_head_params library. | -| Do not include any path to the file! 'javascripts/' is going to be used. +| Do not include any path to the file! 'js/' is going to be used. | | Leave blank for no default javascript. | */ -$config['default_javascript'] = ''; +$config['default_js'] = ''; /* |-------------------------------------------------------------------------- -| Default Video File Extension +| Default Video File Extension (OBSOLETE) |-------------------------------------------------------------------------- | | Sets the default video file extension, which must be set without '.' prefix. @@ -81,8 +81,30 @@ $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 +|-------------------------------------------------------------------------- +| +| The number of video icons shown per page (as in catalog/category). +| +*/ +$config['videos_per_page'] = 16; + +/* +|-------------------------------------------------------------------------- +| Videos per row +|-------------------------------------------------------------------------- +| +| The number of video icons shown on a single line (as in home page). +| +*/ +$config['videos_per_row'] = 4;