From a8e625f47a8b197f6cb89b67f37ef5d0a756619d Mon Sep 17 00:00:00 2001 From: Sem Date: Thu, 3 Nov 2011 20:37:47 +0100 Subject: Removed all $CONFIG and pg/ appearitions. --- actions/add.php | 4 +-- actions/edit.php | 6 ++-- actions/tubesearch.php | 9 +++-- all.php | 4 +-- browse.php | 6 ++-- edit.php | 6 ++-- friends.php | 4 +-- index.php | 8 ++--- new.php | 5 ++- start.php | 42 +++++++++------------- views/default/forms/browsetube.php | 6 ++-- views/default/object/videolist.php | 10 +++--- views/default/staticvideo/index.php | 2 +- views/default/videolist/group_video_header.php | 4 +-- views/default/videolist/groupprofile_videolist.php | 10 +++--- views/default/videolist/icon.php | 8 ++--- watch.php | 9 +++-- 17 files changed, 60 insertions(+), 83 deletions(-) diff --git a/actions/add.php b/actions/add.php index 87f459a3a..4fd6481ae 100644 --- a/actions/add.php +++ b/actions/add.php @@ -189,7 +189,7 @@ else if($pageContainer == "vimeo"){ // Before we can set metadata, we need to save the video if (!$videolist->save()) { register_error(elgg_echo("videolist:error")); - forward("pg/videolist/new"); + forward("videolist/new"); } //add video tags $videolist_tags_array = string_to_tag_array($_SESSION['videolisttags']); @@ -208,7 +208,7 @@ unset($_SESSION['candidate_profile_video_access_id']); unset($_SESSION['candidat unset($_SESSION['videolisttags']);unset($_SESSION['Pagecontainer']); // Forward to the main videolist page -forward("pg/videolist/owned/".page_owner_entity()->username); +forward("videolist/owned/".page_owner_entity()->username); // Remove the videolist cache unset($_SESSION['candidate_profile_video_access_id']); unset($_SESSION['candidate_profile_video']); diff --git a/actions/edit.php b/actions/edit.php index 46df32e16..3aa536e4c 100644 --- a/actions/edit.php +++ b/actions/edit.php @@ -2,8 +2,6 @@ /** * Elgg video edit */ - -global $CONFIG; // Get variables $title = strip_tags(get_input("title_videourl")); @@ -14,7 +12,7 @@ $guid = (int) get_input('video_guid'); if (!$video = get_entity($guid)) { register_error(elgg_echo("videolist:noentity")); - forward($CONFIG->wwwroot . "pg/videolist/" . $_SESSION['user']->username); + forward(elgg_get_site_url() . "videolist/" . $_SESSION['user']->username); exit; } @@ -39,4 +37,4 @@ if ($result) else register_error(elgg_echo("videolist:editfailed")); -forward($_SERVER['HTTP_REFERER']); \ No newline at end of file +forward($_SERVER['HTTP_REFERER']); diff --git a/actions/tubesearch.php b/actions/tubesearch.php index 82f946ab6..761bbb41e 100644 --- a/actions/tubesearch.php +++ b/actions/tubesearch.php @@ -30,7 +30,6 @@ if ($page_owner === false || is_null($page_owner)) { set_page_owner($_SESSION['guid']); } -global $CONFIG; $queryFeed = get_input('q'); $start_index = get_input('start_index'); $results_perpage = 10; @@ -116,7 +115,7 @@ if (!isset($queryFeed) || empty($queryFeed)) { $body .= "Description : ".substr($media->group->description, 0, 140)." ...

"; $body .= ''; - $body .= "".elgg_echo('videolist:play:video')." wwwroot."pg/videolist/new/".$container."/title_videourl/".$vid_array[1]."/page/".$queryCatgory."\">".elgg_echo('videolist:add:video').""; + $body .= "".elgg_echo('videolist:play:video')." ".elgg_echo('videolist:add:video').""; $body .= ''; $body .= ''; @@ -208,7 +207,7 @@ if (!isset($queryFeed) || empty($queryFeed)) { $body .= "

Description : ".$desc_src."

"; $body .= ''; - $body .= "".elgg_echo('videolist:play:video')." wwwroot."pg/videolist/new/".$container."/title_videourl/".$metacafevideoIdArray[0]."/page/".$queryCatgory."\">".elgg_echo('videolist:add:video').""; + $body .= "".elgg_echo('videolist:play:video')." ".elgg_echo('videolist:add:video').""; $body .= ''; $body .= ''; @@ -301,7 +300,7 @@ if (!isset($queryFeed) || empty($queryFeed)) { $body .= "Tags : ".implode(', ', $aTags)."

"; $body .= ''; - $body .= "".elgg_echo('videolist:play:video')." wwwroot."pg/videolist/new/".$container."/title_videourl/".$embedidArray[0]."/page/".$queryCatgory."\">".elgg_echo('videolist:add:video').""; + $body .= "".elgg_echo('videolist:play:video')." ".elgg_echo('videolist:add:video').""; $body .= ''; $body .= ''; @@ -314,4 +313,4 @@ if (!isset($queryFeed) || empty($queryFeed)) { } } -exit; \ No newline at end of file +exit; diff --git a/all.php b/all.php index 98b180525..caccd7c3e 100644 --- a/all.php +++ b/all.php @@ -22,7 +22,7 @@ if ($page_owner === false || is_null($page_owner)) { $title = sprintf(elgg_echo("videolist:search")); // get the filter menu -$friend_link = $CONFIG->wwwroot . "pg/videolist/friends/" . $page_owner->username; +$friend_link = elgg_get_site_url() . "videolist/friends/" . $page_owner->username; // Get objects $area1 = elgg_view('page_elements/content_header', array('context' => "everyone", 'type' => 'videolist', 'friend_link' => $friend_link)); set_input('show_viewtype', 'all'); @@ -41,4 +41,4 @@ set_context('videolist'); $body = elgg_view_layout('one_column_with_sidebar', $area1.$area2, $area3); // Finally draw the page -page_draw($title, $body); \ No newline at end of file +page_draw($title, $body); diff --git a/browse.php b/browse.php index c8314b9c6..2392ef19a 100644 --- a/browse.php +++ b/browse.php @@ -8,8 +8,6 @@ * @author Prateek Choudhary * @copyright Prateek Choudhary */ - -global $CONFIG; require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php"); @@ -33,7 +31,7 @@ if(isset($container_guid) && !empty($container_guid)) { } } -elgg_push_breadcrumb(elgg_echo('videolist:find'), $CONFIG->wwwroot."mod/videolist/all.php"); +elgg_push_breadcrumb(elgg_echo('videolist:find'), elgg_get_site_url()."videolist/all/"); elgg_push_breadcrumb(elgg_echo("videolist:browsemenu")); $title = elgg_echo("videolist:browsemenu"); @@ -48,4 +46,4 @@ $area3 = elgg_view('annotation/latest_comments', array('comments' => $comments)) $body = elgg_view_layout('one_column_with_sidebar', $area1.$area2, $area3); -page_draw($title, $body); \ No newline at end of file +page_draw($title, $body); diff --git a/edit.php b/edit.php index b94e49275..cc06dd9c4 100644 --- a/edit.php +++ b/edit.php @@ -26,8 +26,8 @@ if ($video_file = get_entity($video_file)) { if ($video_file->canEdit()) { // set up breadcrumbs - elgg_push_breadcrumb(elgg_echo('videolist:all'), $CONFIG->wwwroot."mod/videolist/all.php"); - elgg_push_breadcrumb(sprintf(elgg_echo("videolist:user"),$page_owner->name), $CONFIG->wwwroot."pg/videolist/".$page_owner->username); + elgg_push_breadcrumb(elgg_echo('videolist:all'), elgg_get_site_url()."videolist/all.php"); + elgg_push_breadcrumb(sprintf(elgg_echo("videolist:user"),$page_owner->name), elgg_get_site_url()."videolist/".$page_owner->username); elgg_push_breadcrumb(sprintf(elgg_echo("videolist:edit"))); $area1 = elgg_view('navigation/breadcrumbs'); @@ -40,4 +40,4 @@ if ($video_file = get_entity($video_file)) { forward(); } -?> \ No newline at end of file +?> diff --git a/friends.php b/friends.php index d9e84e896..8d90ae1a3 100644 --- a/friends.php +++ b/friends.php @@ -11,8 +11,6 @@ // Start engine require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php"); - -global $CONFIG; $page_owner = page_owner_entity(); if ($page_owner === false || is_null($page_owner)) { @@ -21,7 +19,7 @@ if ($page_owner === false || is_null($page_owner)) { } // get the filter menu -$friend_link = $CONFIG->wwwroot . "pg/videolist/friends/" . $page_owner->username; +$friend_link = elgg_get_site_url() . "videolist/friends/" . $page_owner->username; // get the filter menu $area1 = elgg_view("page_elements/content_header", array('context' => "friends", 'type' => 'videolist', 'friend_link' => $friend_link)); diff --git a/index.php b/index.php index 0c78470f3..4ca5495e1 100644 --- a/index.php +++ b/index.php @@ -8,8 +8,6 @@ * @author Prateek Choudhary * @copyright Prateek Choudhary */ - -global $CONFIG; require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php"); @@ -32,14 +30,14 @@ if(isset($container_guid) && !empty($container_guid)) { } } -elgg_push_breadcrumb(elgg_echo('videolist:find'), $CONFIG->wwwroot."mod/videolist/all.php"); +elgg_push_breadcrumb(elgg_echo('videolist:find'), elgg_get_site_url()."videolist/all"); elgg_push_breadcrumb(sprintf(elgg_echo("videolist:home"),$page_owner->name)); $title = sprintf(elgg_echo("videolist:home"), "$owner->name"); //set videolist header if(page_owner() == get_loggedin_userid()) { // get the filter menu - $friend_link = $CONFIG->wwwroot . "pg/videolist/friends/" . $page_owner->username; + $friend_link = elgg_get_site_url() . "videolist/friends/" . $page_owner->username; $area1 .= elgg_view('page_elements/content_header', array('context' => "mine", 'type' => 'videolist', 'friend_link' => $friend_link)); }elseif(page_owner_entity() instanceof ElggGroup){ $area1 .= elgg_view('navigation/breadcrumbs'); @@ -67,4 +65,4 @@ set_context('videolist'); $body = elgg_view_layout('one_column_with_sidebar', $area1.$area2, $area3); // Finally draw the page -page_draw($title, $body); \ No newline at end of file +page_draw($title, $body); diff --git a/new.php b/new.php index 169a48fb5..881fba6ff 100644 --- a/new.php +++ b/new.php @@ -9,7 +9,6 @@ * @copyright Prateek Choudhary */ -global $CONFIG; // Render the video upload page // Load Elgg engine require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php"); @@ -39,7 +38,7 @@ if(isset($container_guid) && !empty($container_guid)){ $title = sprintf(elgg_echo("videolist:add")); //set up breadcrumbs -elgg_push_breadcrumb(elgg_echo('videolist:all'), $CONFIG->wwwroot."mod/videolist/all.php"); +elgg_push_breadcrumb(elgg_echo('videolist:all'), elgg_get_site_url()."videolist/all/"); elgg_push_breadcrumb(elgg_echo("videolist:add")); $area1 = elgg_view('navigation/breadcrumbs'); @@ -47,4 +46,4 @@ $area1 .= elgg_view('page_elements/content_header', array('context' => "action", $area2 .= elgg_view("forms/add"); $body = elgg_view_layout('one_column_with_sidebar', $area1 . $area2, $area3); -page_draw($title, $body); \ No newline at end of file +page_draw($title, $body); diff --git a/start.php b/start.php index 9e8f73f92..ad2985e4a 100644 --- a/start.php +++ b/start.php @@ -12,15 +12,14 @@ register_elgg_event_handler('init','system','videolist_init'); function videolist_init() { - global $CONFIG; - add_menu(elgg_echo('videolist'), $CONFIG->wwwroot . "mod/videolist/all.php"); + add_menu(elgg_echo('videolist'), elgg_get_site_url() . "videolist/all"); // Extend system CSS with our own styles elgg_extend_view('css','videolist/css'); // Load the language file - default is english - register_translations($CONFIG->pluginspath . "videolist/languages/"); + register_translations(elgg_get_plugins_path() . "videolist/languages/"); // Register a page handler, so we can have nice URLs register_page_handler('videolist','videolist_page_handler'); @@ -63,10 +62,10 @@ function videolist_init() { register_plugin_hook('entity:icon:url', 'user', 'profile_usericon_hook'); // Register actions - register_action("videolist/add", $CONFIG->pluginspath . "videolist/actions/add.php"); - register_action("videolist/edit", $CONFIG->pluginspath . "videolist/actions/edit.php"); - register_action("videolist/tubesearch", $CONFIG->pluginspath . "videolist/actions/tubesearch.php"); - register_action("videolist/delete", $CONFIG->pluginspath . "videolist/actions/delete.php"); + register_action("videolist/add", elgg_register_plugins_path() . "videolist/actions/add.php"); + register_action("videolist/edit", elgg_register_plugins_path() . "videolist/actions/edit.php"); + register_action("videolist/tubesearch", elgg_register_plugins_path() . "videolist/actions/tubesearch.php"); + register_action("videolist/delete", elgg_register_plugins_path() . "videolist/actions/delete.php"); } /** @@ -117,45 +116,41 @@ function videolist_page_handler($page) { function videolist_pagesetup() { - global $CONFIG; $page_owner = page_owner_entity(); if ($page_owner instanceof ElggGroup && get_context() == "groups") { - //add_submenu_item(sprintf(elgg_echo("videolist:group"), page_owner_entity()->name), $CONFIG->wwwroot . "pg/videolist/owned/" . page_owner_entity()->username); + //add_submenu_item(sprintf(elgg_echo("videolist:group"), page_owner_entity()->name), elgg_get_site_url() . "videolist/owned/" . page_owner_entity()->username); } else if (get_context() == "videolist") { /********************************************************************************************** ****if user is OR is not registered user then show him following page menus to choose from ***********************************************************************************************/ /* - add_submenu_item(elgg_echo('videolist:home'),$CONFIG->wwwroot."pg/videolist/". $page_owner->username); + add_submenu_item(elgg_echo('videolist:home'),elgg_get_site_url()."videolist/". $page_owner->username); - add_submenu_item(elgg_echo('videolist:new'),$CONFIG->wwwroot."pg/videolist/new"); + add_submenu_item(elgg_echo('videolist:new'),elgg_get_site_url()."videolist/new"); - add_submenu_item(elgg_echo('videolist:find'),$CONFIG->wwwroot."pg/videolist/search/"); + add_submenu_item(elgg_echo('videolist:find'),elgg_get_site_url()."videolist/search/"); */ } else if (get_context() == "group") { - //add_submenu_item(sprintf(elgg_echo("videolist:home"),page_owner_entity()->name), $CONFIG->wwwroot . "pg/videolist/owned/" . page_owner_entity()->username); + //add_submenu_item(sprintf(elgg_echo("videolist:home"),page_owner_entity()->name), elgg_get_site_url() . "videolist/owned/" . page_owner_entity()->username); if ($page_owner->canEdit()) { - //add_submenu_item(sprintf(elgg_echo('videolist:browsemenu'),page_owner_entity()->name), $CONFIG->wwwroot . "pg/videolist/browse/". page_owner_entity()->username); - //add_submenu_item(sprintf(elgg_echo('videolist:new'),page_owner_entity()->name), $CONFIG->wwwroot . "pg/videolist/new/". page_owner_entity()->username); + //add_submenu_item(sprintf(elgg_echo('videolist:browsemenu'),page_owner_entity()->name), elgg_get_site_url() . "videolist/browse/". page_owner_entity()->username); + //add_submenu_item(sprintf(elgg_echo('videolist:new'),page_owner_entity()->name), elgg_get_site_url() . "videolist/new/". page_owner_entity()->username); } } } function video_url($entity) { - global $CONFIG; $video_id = $entity->video_id; - return $CONFIG->url . "pg/videolist/watch/" . $entity->getGUID() . "/" . $video_id; + return elgg_get_site_url() . "videolist/watch/" . $entity->getGUID() . "/" . $video_id; } function videolist_url($videolistpage) { - global $CONFIG; - $owner = $videolistpage->container_guid; $userdata = get_entity($owner); $title = $videolistpage->title; $title = friendly_title($title); - return $CONFIG->url . "pg/videolist/watch/" . $videolistpage->getGUID(); + return elgg_get_site_url() . "videolist/watch/" . $videolistpage->getGUID(); } /** @@ -202,11 +197,9 @@ function videolist_object_notifications_intercept($hook, $entity_type, $returnva } function videolist_profile_menu($hook, $entity_type, $return_value, $params) { - global $CONFIG; - $return_value[] = array( 'text' => elgg_echo('videolist'), - 'href' => "{$CONFIG->url}pg/videolist/owned/{$params['owner']->username}", + 'href' => elgg_get_site_url() . "videolist/owned/{$params['owner']->username}", ); return $return_value; @@ -270,8 +263,7 @@ function videolist_get_entity_icon_url(ElggEntity $entity, $size = 'medium') { // tiny thumbnails are too small to be useful, so give a generic video icon if ($size == 'tiny') { - global $CONFIG; - return "{$CONFIG->url}mod/videolist/graphics/video_icon_tiny.png"; + return elgg_get_site_url() . "mod/videolist/graphics/video_icon_tiny.png"; } return $entity->thumbnail; diff --git a/views/default/forms/browsetube.php b/views/default/forms/browsetube.php index 82201a81c..bbe2b8935 100644 --- a/views/default/forms/browsetube.php +++ b/views/default/forms/browsetube.php @@ -42,13 +42,13 @@ if(isset($confirm_action) && ($confirm_action == 'search_video')) { $body .= "
"; $body .= "
    "; $body .= "
  • "; -$body .= "YouTube"; +$body .= "YouTube"; $body .= "
  • "; $body .= "
  • "; -$body .= "Metacafe"; +$body .= "Metacafe"; $body .= "
  • "; $body .= "
  • "; -$body .= "Vimeo"; +$body .= "Vimeo"; $body .= "
  • "; $body .= "
"; $body .= "
"; diff --git a/views/default/object/videolist.php b/views/default/object/videolist.php index 82336ec97..d67d35b23 100644 --- a/views/default/object/videolist.php +++ b/views/default/object/videolist.php @@ -6,8 +6,6 @@ /* @copyright Prateek.Choudhary /*****************************************************************************************/ -global $CONFIG; - $video_file = $vars['entity']; if(!empty($video_file)) { @@ -22,7 +20,7 @@ if(!empty($video_file)) { $mime = "image/html"; $thumbnail = $videothumbnail; - $watch_URL = $vars['url']."pg/videolist/watch/".$video_guid; + $watch_URL = $vars['url']."videolist/watch/".$video_guid; $object_acl = get_readable_access_level($video_file->access_id); // metadata block, - access level, edit, delete, + options view extender @@ -40,17 +38,17 @@ if(!empty($video_file)) { if(get_input('show_viewtype') == "all") { $info .= '

'.$title.'

'; - $info .= "

username}\">{$owner->name} {$friendlytime}"; + $info .= "

username}\">{$owner->name} {$friendlytime}"; $info .= "

"; $icon = "" . elgg_view("videolist/icon", array("mimetype" => $mime, 'thumbnail' => $thumbnail, 'video_guid' => $video_guid, 'size' => 'small')) . ""; echo "
".elgg_view_listing($icon, $info)."
"; } else { $info .= '

'.$title.'

'; - $info .= "

username}\">{$owner->name} {$friendlytime}"; + $info .= "

username}\">{$owner->name} {$friendlytime}"; $info .= "

"; $icon = "" . elgg_view("videolist/icon", array("mimetype" => $mime, 'thumbnail' => $thumbnail, 'video_guid' => $video_guid, 'size' => 'small')) . ""; echo "
".elgg_view_listing($icon, $info)."
"; } } else { echo "

".elgg_echo('videolist:none:found')."

"; -} \ No newline at end of file +} diff --git a/views/default/staticvideo/index.php b/views/default/staticvideo/index.php index e5f6d8fad..8d265fd50 100644 --- a/views/default/staticvideo/index.php +++ b/views/default/staticvideo/index.php @@ -27,7 +27,7 @@ if(!empty($owner_videos)) { $video_guid = $node->guid; $video_id = $node->video_id; $videodiv .= "
"; - $videodiv .= ""; + $videodiv .= ""; $videodiv .= "no video"; $videodiv .= ""; diff --git a/views/default/videolist/group_video_header.php b/views/default/videolist/group_video_header.php index dd12d1d96..e6d13bca3 100644 --- a/views/default/videolist/group_video_header.php +++ b/views/default/videolist/group_video_header.php @@ -5,7 +5,7 @@ $user = page_owner_entity(); $user_name = elgg_view_title($user->name . "'s " . elgg_echo('videos')); -$url = $CONFIG->wwwroot . "pg/videolist/browse/". $user->username . "/"; +$url = elgg_get_site_url() . "videolist/browse/". $user->username . "/"; //if the user is a memebr of the group, show find button if($user->isMember(get_loggedin_user())) $upload_link = "" . elgg_echo('videolist:browsemenu') . ''; @@ -19,4 +19,4 @@ else
-
\ No newline at end of file + diff --git a/views/default/videolist/groupprofile_videolist.php b/views/default/videolist/groupprofile_videolist.php index badfa13a6..33a22ab68 100644 --- a/views/default/videolist/groupprofile_videolist.php +++ b/views/default/videolist/groupprofile_videolist.php @@ -11,7 +11,7 @@ ?>
-username; ?>"> +username; ?>">

getOwner()); $numcomments = elgg_count_comments($f); echo ""; } } else { - $upload_video = $vars['url'] . "pg/videolist/browse/" . page_owner_entity()->username; + $upload_video = $vars['url'] . "videolist/browse/" . page_owner_entity()->username; echo "

" . elgg_echo("videolist:add") . "

"; } echo "
"; -?> \ No newline at end of file +?> diff --git a/views/default/videolist/icon.php b/views/default/videolist/icon.php index 46c186db1..36b30e5ca 100644 --- a/views/default/videolist/icon.php +++ b/views/default/videolist/icon.php @@ -9,10 +9,8 @@ * @link http://elgg.com/ */ -global $CONFIG; - if($vars['videolist']){ - echo "wwwroot}mod/videolist/graphics/icons/Video_Icon.jpg\" border=\"0\" />"; + echo ""; } else { $mime = $vars['mimetype']; if (isset($vars['thumbnail'])) { @@ -32,7 +30,7 @@ if($vars['videolist']){ if ($size == 'large') { echo ""; } else { - echo "wwwroot}mod/videolist/graphics/icons/Video_Icon.jpg\" border=\"0\" />"; + echo ""; } } -} \ No newline at end of file +} diff --git a/watch.php b/watch.php index 778af59c2..4c92cc63b 100644 --- a/watch.php +++ b/watch.php @@ -8,7 +8,6 @@ * @author Prateek Choudhary * @copyright Prateek Choudhary */ -global $CONFIG; require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php"); @@ -26,8 +25,8 @@ if ($videos = get_entity($video_id)) { $page_owner = $_SESSION['user']; set_page_owner($page_owner->getGUID()); } - elgg_push_breadcrumb(elgg_echo('videolist:all'), $CONFIG->wwwroot."mod/videolist/all.php"); - elgg_push_breadcrumb(sprintf(elgg_echo("videolist:user"),$page_owner->name), $CONFIG->wwwroot."pg/videolist/".$page_owner->username); + elgg_push_breadcrumb(elgg_echo('videolist:all'), elgg_get_site_url()."videolist/all.php"); + elgg_push_breadcrumb(sprintf(elgg_echo("videolist:user"),$page_owner->name), elgg_get_site_url()."videolist/".$page_owner->username); elgg_push_breadcrumb(sprintf($video->title)); $area1 = elgg_view('navigation/breadcrumbs'); @@ -41,10 +40,10 @@ if ($videos = get_entity($video_id)) { $area1 .= "

".$title."

"; if ($videos->canEdit()) { $area1 .= "
- wwwroot}mod/videolist/edit.php?video={$videos->getGUID()}\">".elgg_echo('edit').""; + getGUID()}\">".elgg_echo('edit').""; $area1 .= elgg_view('output/confirmlink',array( - 'href' => $CONFIG->wwwroot . "action/videolist/delete?video=" . $videos->getGUID(), + 'href' => elgg_get_site_url() . "action/videolist/delete?video=" . $videos->getGUID(), 'text' => elgg_echo('delete'), 'is_action' => true, 'confirm' => elgg_echo('document:delete:confirm'), -- cgit v1.2.3