mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-05 06:31:35 -04:00
1) Rename the basic_company_id and basic_event_id to default_*_id
2) Removed the tabs on the digibug admin page word count is now at 35. 3) Added a default link which resets the event and company id's to gallery's ids
This commit is contained in:
@@ -29,13 +29,11 @@ class Digibug_Controller extends Controller {
|
||||
$proxy->save();
|
||||
|
||||
$url = url::abs_site("digibug/print_proxy/{$proxy->uuid}");
|
||||
if (module::get_var("digibug", "mode", "basic")) {
|
||||
$company_id = module::get_var("digibug", "basic_company_id");
|
||||
$event_id = module::get_var("digibug", "basic_event_id");
|
||||
} else {
|
||||
$company_id = module::get_var("digibug", "company_id");
|
||||
$event_id = module::get_var("digibug", "event_id");
|
||||
}
|
||||
$company_id = module::get_var("digibug", "company_id",
|
||||
module::get_var("digibug", "default_company_id"));
|
||||
$event_id = module::get_var("digibug", "event_id",
|
||||
module::get_var("digibug", "default_event_id"));
|
||||
|
||||
$v = new View("digibug_form.html");
|
||||
$v->order_parms = array(
|
||||
"digibug_api_version" => "100",
|
||||
@@ -50,7 +48,7 @@ class Digibug_Controller extends Controller {
|
||||
"image_width_1" => $item->width,
|
||||
"thumb_height_1" => $item->thumb_height,
|
||||
"thumb_width_1" => $item->thumb_width,
|
||||
"title_1" => $item->title);
|
||||
"title_1" => p::clean($item->title));
|
||||
|
||||
print $v;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user