1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-26 15:54:43 +02:00

More batch-shortcode cleanup.

This commit is contained in:
CaMer0n
2012-06-20 01:12:33 +00:00
parent 73f3106df5
commit a0743652de
9 changed files with 228 additions and 133 deletions

View File

@@ -647,7 +647,14 @@ class e_form
return e107::getRate()->render($table, $id, $options);
}
function like($table,$id,$options=null)
{
$table = preg_replace('/\W/', '', $table);
$id = intval($id);
return e107::getRate()->renderLike($table,$id,$options);
}