1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 12:20:44 +02:00

Submitnews token added and set access to 'Members' during installation.

This commit is contained in:
Cameron
2013-07-12 03:21:27 -07:00
parent 7a70f27629
commit 62f178f9bb
5 changed files with 72 additions and 76 deletions

View File

@@ -240,7 +240,7 @@ class e_form
}
$mlength = vartrue($maxlength) ? "maxlength=".$maxlength : "";
$options = $this->format_options('text', $name, $options);
//never allow id in format name-value for text fields
return "<input type='text' name='{$name}' value='{$value}' {$mlength} ".$this->get_attributes($options, $name)." />";
@@ -873,7 +873,8 @@ class e_form
* IMPORTANT: $$mediaCat is also used is the media-manager category identifier
*/
function bbarea($name, $value, $template = '', $mediaCat='_common', $size = 'large', $options = array())
{
{
if(is_string($options)) parse_str($options, $options);
//size - large|medium|small
//width should be explicit set by current admin theme
$size = 'input-large';