Jordi, the Moderator panel widget this is the system widget and that is why there are no activate.php and deactivate.php files. But you can use the activate.php file of other plugin for example The Blog plugin file.
You need to go to ow_plugins/photo/activate.php file and add this code in the end of the file:
$widget = BOL_ComponentAdminService::getInstance()->addWidget('BASE_CMP_ModerationToolsWidget');
$placeWidget = BOL_ComponentAdminService::getInstance()->addWidgetToPlace($widget, BOL_ComponentAdminService::PLACE_INDEX);
BOL_ComponentAdminService::getInstance()->addWidgetToPosition($placeWidget, BOL_ComponentAdminService::SECTION_LEFT);
After the saving you need to activate and deactivate the plugin via Admin Area>Plugins>Installed Plugins section.
Then, don't forget to remove the code above in the activate.php file.
And we would really appreciate if you will search before posting. This topic has already been discussed:
http://www.oxwall.org/forum/117/search?&q=addWidget .