1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-10 08:34:09 +02:00

Make sure custom form method is public

This commit is contained in:
CaMer0n
2012-10-31 23:22:47 +00:00
parent 909735d442
commit 792cc7e715

View File

@@ -323,7 +323,7 @@ class media_form_ui extends e_admin_form_ui
return $frm->selectbox('resize_method',$options,$curval)."<div class='field-help'>".IMALAN_4."</div>"; return $frm->selectbox('resize_method',$options,$curval)."<div class='field-help'>".IMALAN_4."</div>";
} }
private function rotateImages($ids,$type) public function rotateImages($ids,$type)
{ {
$sql = e107::getDb(); $sql = e107::getDb();
$tp = e107::getParser(); $tp = e107::getParser();
@@ -381,7 +381,7 @@ class media_form_ui extends e_admin_form_ui
* @param int * @param int
* @param int * @param int
*/ */
private function resizeImage($oldpath,$img_import_w,$img_import_h) public function resizeImage($oldpath,$img_import_w,$img_import_h)
{ {
try try
@@ -412,7 +412,7 @@ class media_form_ui extends e_admin_form_ui
private function resizeImages($ids,$type) public function resizeImages($ids,$type)
{ {
$sql = e107::getDb(); $sql = e107::getDb();
@@ -454,9 +454,11 @@ class media_form_ui extends e_admin_form_ui
} }
private function resize_dimensions($curval) // ie. never manually resize another image again! public function resize_dimensions($curval) // ie. never manually resize another image again!
{ {
$text = ""; $text = "";
$frm = e107::getForm(); $frm = e107::getForm();
$pref = e107::getPref(); $pref = e107::getPref();