emoticon phpfox 0 1 0 module_emoticon Emoticons Emoticons Import Emoticons Package successfully updated. Package successfully added. Edit Package Add Package Package successfully deleted. Emoticon successfully deleted. Emoticon successfully updated. Emoticon successfully added. Edit Emoticon Add Emoticon Emoticon package successfully created. Imported: {success} - Failed: {failed} Import Emoticons Package does not exist. Emoticons successfully updated. View Emoticon Package View Package Emoticon package not found. Select a module. Provide a emoticon symbol. Define a path for the package. Symbol already exists. Image could not be uploaded. Please fill in the package name field. {path} is not writable and the folder could not be created. Not a valid emoticon package. Unable to import emoticon package. Name Mass Import You can optionally mass import emoticons from a ZIP package. All emoticons must be located within the root directory of the ZIP package in order for a successful import. Add Package Details Packages Active View Emoticons Export Package Delete Package Are you sure? Deactivate Activate No emoticons in this package. Emoticon Details Package Image Title Symbol Edit Import File productname-emoticon-packagename.zip]]> Overwrite Yes No Delete Emoticon This package contains no emoticons. Update Not a valid emoticon package to import. XML files only and must have a similar name structure: productname-emoticon-packagename.xml 'Smile', 'text' => ':)', 'image' => 'smile.png', 'ordering' => '1', 'package_path' => 'default' ), array( 'title' => 'Evilgrin', 'text' => '>;->', 'image' => 'evilgrin.png', 'ordering' => '2', 'package_path' => 'default' ), array( 'title' => 'Happy', 'text' => ':-)', 'image' => 'happy.png', 'ordering' => '3', 'package_path' => 'default' ), array( 'title' => 'Wink', 'text' => ';)', 'image' => 'wink.png', 'ordering' => '4', 'package_path' => 'default' ), array( 'title' => 'Tongue', 'text' => ':P', 'image' => 'tongue.png', 'ordering' => '5', 'package_path' => 'default' ), array( 'title' => 'Unhappy', 'text' => ':(', 'image' => 'unhappy.png', 'ordering' => '6', 'package_path' => 'default' ), array( 'title' => 'Surprised', 'text' => '=:o', 'image' => 'surprised.png', 'ordering' => '7', 'package_path' => 'default' ), array( 'title' => 'Grin', 'text' => ':>', 'image' => 'grin.png', 'ordering' => '8', 'package_path' => 'default' ) ); foreach ($aRows as $aRow) { $aInsert = array(); foreach ($aRow as $sKey => $sValue) { $aInsert[$sKey] = $sValue; } $this->database()->insert(Phpfox::getT('emoticon'), $aInsert); } $aPackage = array( 'package_path' => 'default', 'product_id' => 'phpfox', 'package_name' => 'default', 'is_active' => 1 ); $this->database()->insert(Phpfox::getT('emoticon_package'), $aPackage); ]]>