[1796] | 1 | <?php |
---|
| 2 | # -- BEGIN LICENSE BLOCK --------------------------------------- |
---|
| 3 | # |
---|
| 4 | # This file is part of Dotclear 2. |
---|
| 5 | # |
---|
| 6 | # Copyright (c) 2003-2013 Olivier Meunier & Association Dotclear |
---|
| 7 | # Licensed under the GPL version 2.0 license. |
---|
| 8 | # See LICENSE file or |
---|
| 9 | # http://www.gnu.org/licenses/old-licenses/gpl-2.0.html |
---|
| 10 | # |
---|
| 11 | # -- END LICENSE BLOCK ----------------------------------------- |
---|
| 12 | if (!defined('DC_RC_PATH')) { return; } |
---|
| 13 | |
---|
[1806] | 14 | class dcPostsActionsPage extends dcActionsPage |
---|
[1796] | 15 | { |
---|
[1903] | 16 | public function __construct($core,$uri,$redirect_args=array()) { |
---|
| 17 | parent::__construct($core,$uri,$redirect_args); |
---|
[1796] | 18 | $this->redirect_fields = array('user_id','cat_id','status', |
---|
[2309] | 19 | 'selected','attachment','month','lang','sortby','order','page','nb'); |
---|
[1903] | 20 | $this->loadDefaults(); |
---|
| 21 | } |
---|
| 22 | |
---|
| 23 | protected function loadDefaults() { |
---|
[1806] | 24 | // We could have added a behavior here, but we want default action |
---|
| 25 | // to be setup first |
---|
[1903] | 26 | dcDefaultPostActions::adminPostsActionsPage($this->core,$this); |
---|
[2055] | 27 | $this->core->callBehavior('adminPostsActionsPage',$this->core,$this); |
---|
| 28 | |
---|
[1796] | 29 | } |
---|
[2494] | 30 | |
---|
[1796] | 31 | public function beginPage($breadcrumb='',$head='') { |
---|
[2072] | 32 | if ($this->in_plugin) { |
---|
| 33 | echo '<html><head><title>'.__('Entries').'</title>'. |
---|
| 34 | dcPage::jsLoad('js/_posts_actions.js'). |
---|
| 35 | $head. |
---|
| 36 | '</script></head><body>'. |
---|
| 37 | $breadcrumb; |
---|
| 38 | } else { |
---|
| 39 | dcPage::open( |
---|
| 40 | __('Entries'), |
---|
| 41 | dcPage::jsLoad('js/_posts_actions.js'). |
---|
| 42 | $head, |
---|
| 43 | $breadcrumb |
---|
| 44 | ); |
---|
| 45 | } |
---|
[2169] | 46 | echo '<p><a class="back" href="'.$this->getRedirection(true).'">'.__('Back to entries list').'</a></p>'; |
---|
[1796] | 47 | } |
---|
[2494] | 48 | |
---|
[1796] | 49 | public function endPage() { |
---|
[2072] | 50 | if ($this->in_plugin) { |
---|
| 51 | echo '</body></html>'; |
---|
| 52 | } else { |
---|
| 53 | dcPage::close(); |
---|
| 54 | } |
---|
[1796] | 55 | } |
---|
[2494] | 56 | |
---|
[1796] | 57 | public function error(Exception $e) { |
---|
[1806] | 58 | $this->core->error->add($e->getMessage()); |
---|
[1796] | 59 | $this->beginPage(dcPage::breadcrumb( |
---|
| 60 | array( |
---|
[1806] | 61 | html::escapeHTML($this->core->blog->name) => '', |
---|
[2169] | 62 | $this->getCallerTitle() => $this->getRedirection(true), |
---|
[2166] | 63 | __('Entries actions') => '' |
---|
[1796] | 64 | )) |
---|
| 65 | ); |
---|
| 66 | $this->endPage(); |
---|
| 67 | } |
---|
[2494] | 68 | |
---|
[1806] | 69 | protected function fetchEntries($from) { |
---|
[2627] | 70 | $params = array(); |
---|
[1796] | 71 | if (!empty($from['entries'])) |
---|
| 72 | { |
---|
| 73 | $entries = $from['entries']; |
---|
[2494] | 74 | |
---|
[1796] | 75 | foreach ($entries as $k => $v) { |
---|
| 76 | $entries[$k] = (integer) $v; |
---|
| 77 | } |
---|
[2494] | 78 | |
---|
[1796] | 79 | $params['sql'] = 'AND P.post_id IN('.implode(',',$entries).') '; |
---|
[2627] | 80 | } else { |
---|
| 81 | $params['sql'] = 'AND 1=0 '; |
---|
| 82 | } |
---|
[2494] | 83 | |
---|
[2627] | 84 | if (!isset($from['full_content']) || empty($from['full_content'])) { |
---|
| 85 | $params['no_content'] = true; |
---|
| 86 | } |
---|
[2494] | 87 | |
---|
[2627] | 88 | if (isset($from['post_type'])) { |
---|
| 89 | $params['post_type'] = $from['post_type']; |
---|
| 90 | } |
---|
[2494] | 91 | |
---|
[2627] | 92 | $posts = $this->core->blog->getPosts($params); |
---|
| 93 | while ($posts->fetch()) { |
---|
| 94 | $this->entries[$posts->post_id] = $posts->post_title; |
---|
[1796] | 95 | } |
---|
[2627] | 96 | $this->rs = $posts; |
---|
[1796] | 97 | } |
---|
| 98 | } |
---|
| 99 | |
---|
[2494] | 100 | class dcDefaultPostActions |
---|
[1796] | 101 | { |
---|
[2048] | 102 | public static function adminPostsActionsPage($core, $ap) { |
---|
[1796] | 103 | if ($core->auth->check('publish,contentadmin',$core->blog->id)) { |
---|
[1806] | 104 | $ap->addAction( |
---|
[1796] | 105 | array(__('Status') => array( |
---|
| 106 | __('Publish') => 'publish', |
---|
| 107 | __('Unpublish') => 'unpublish', |
---|
| 108 | __('Schedule') => 'schedule', |
---|
| 109 | __('Mark as pending') => 'pending' |
---|
| 110 | )), |
---|
| 111 | array('dcDefaultPostActions','doChangePostStatus') |
---|
| 112 | ); |
---|
| 113 | } |
---|
[1806] | 114 | $ap->addAction( |
---|
[1796] | 115 | array(__('Mark')=> array( |
---|
| 116 | __('Mark as selected') => 'selected', |
---|
| 117 | __('Mark as unselected') => 'unselected' |
---|
| 118 | )), |
---|
| 119 | array('dcDefaultPostActions','doUpdateSelectedPost') |
---|
| 120 | ); |
---|
[1806] | 121 | $ap->addAction( |
---|
[1796] | 122 | array(__('Change') => array( |
---|
| 123 | __('Change category') => 'category', |
---|
| 124 | )), |
---|
| 125 | array('dcDefaultPostActions','doChangePostCategory') |
---|
| 126 | ); |
---|
[1806] | 127 | $ap->addAction( |
---|
[1796] | 128 | array(__('Change') => array( |
---|
| 129 | __('Change language') => 'lang', |
---|
| 130 | )), |
---|
| 131 | array('dcDefaultPostActions','doChangePostLang') |
---|
| 132 | ); |
---|
| 133 | if ($core->auth->check('admin',$core->blog->id)) |
---|
| 134 | { |
---|
[1806] | 135 | $ap->addAction( |
---|
[1796] | 136 | array(__('Change') => array( |
---|
| 137 | __('Change author') => 'author')), |
---|
[1806] | 138 | array('dcDefaultPostActions','doChangePostAuthor') |
---|
[1796] | 139 | ); |
---|
| 140 | } |
---|
| 141 | if ($core->auth->check('delete,contentadmin',$core->blog->id)) { |
---|
[1806] | 142 | $ap->addAction( |
---|
[1796] | 143 | array(__('Delete') => array( |
---|
| 144 | __('Delete') => 'delete')), |
---|
| 145 | array('dcDefaultPostActions','doDeletePost') |
---|
| 146 | ); |
---|
| 147 | } |
---|
| 148 | } |
---|
| 149 | |
---|
[1806] | 150 | public static function doChangePostStatus($core, dcPostsActionsPage $ap, $post) { |
---|
| 151 | switch ($ap->getAction()) { |
---|
[1796] | 152 | case 'unpublish' : $status = 0; break; |
---|
| 153 | case 'schedule' : $status = -1; break; |
---|
| 154 | case 'pending' : $status = -2; break; |
---|
| 155 | default : $status = 1; break; |
---|
| 156 | } |
---|
[1806] | 157 | $posts_ids = $ap->getIDs(); |
---|
| 158 | if (empty($posts_ids)) { |
---|
| 159 | throw new Exception(__('No entry selected')); |
---|
| 160 | } |
---|
| 161 | $core->blog->updPostsStatus($posts_ids,$status); |
---|
[2181] | 162 | dcPage::addSuccessNotice(sprintf( |
---|
| 163 | __( |
---|
| 164 | '%d entry has been successfully updated to status : "%s"', |
---|
| 165 | '%d entries have been successfully updated to status : "%s"', |
---|
| 166 | count($posts_ids) |
---|
| 167 | ), |
---|
| 168 | count($posts_ids), |
---|
| 169 | $core->blog->getPostStatus($status)) |
---|
| 170 | ); |
---|
| 171 | $ap->redirect(true); |
---|
[1796] | 172 | } |
---|
[2494] | 173 | |
---|
[1806] | 174 | public static function doUpdateSelectedPost($core, dcPostsActionsPage $ap, $post) { |
---|
| 175 | $posts_ids = $ap->getIDs(); |
---|
| 176 | if (empty($posts_ids)) { |
---|
| 177 | throw new Exception(__('No entry selected')); |
---|
[1796] | 178 | } |
---|
[1806] | 179 | $action = $ap->getAction(); |
---|
| 180 | $core->blog->updPostsSelected($posts_ids,$action == 'selected'); |
---|
[2181] | 181 | if ($action == 'selected') { |
---|
| 182 | dcPage::addSuccessNotice(sprintf( |
---|
| 183 | __( |
---|
| 184 | '%d entry has been successfully marked as selected', |
---|
| 185 | '%d entries have been successfully marked as selected', |
---|
| 186 | count($posts_ids) |
---|
| 187 | ), |
---|
| 188 | count($posts_ids)) |
---|
| 189 | ); |
---|
| 190 | } else { |
---|
| 191 | dcPage::addSuccessNotice(sprintf( |
---|
| 192 | __( |
---|
| 193 | '%d entry has been successfully marked as unselected', |
---|
| 194 | '%d entries have been successfully marked as unselected', |
---|
| 195 | count($posts_ids) |
---|
| 196 | ), |
---|
| 197 | count($posts_ids)) |
---|
| 198 | ); |
---|
| 199 | } |
---|
| 200 | $ap->redirect(true); |
---|
[1796] | 201 | } |
---|
[2494] | 202 | |
---|
[1806] | 203 | public static function doDeletePost($core, dcPostsActionsPage $ap, $post) { |
---|
[1796] | 204 | |
---|
[1806] | 205 | $posts_ids = $ap->getIDs(); |
---|
[1796] | 206 | if (empty($posts_ids)) { |
---|
| 207 | throw new Exception(__('No entry selected')); |
---|
| 208 | } |
---|
| 209 | // Backward compatibility |
---|
| 210 | foreach($posts_ids as $post_id) |
---|
| 211 | { |
---|
| 212 | # --BEHAVIOR-- adminBeforePostDelete |
---|
| 213 | $core->callBehavior('adminBeforePostDelete',(integer) $post_id); |
---|
| 214 | } |
---|
[2494] | 215 | |
---|
[1796] | 216 | # --BEHAVIOR-- adminBeforePostsDelete |
---|
| 217 | $core->callBehavior('adminBeforePostsDelete',$posts_ids); |
---|
[2494] | 218 | |
---|
[1796] | 219 | $core->blog->delPosts($posts_ids); |
---|
[2181] | 220 | dcPage::addSuccessNotice(sprintf( |
---|
| 221 | __( |
---|
| 222 | '%d entry has been successfully deleted', |
---|
| 223 | '%d entries have been successfully deleted', |
---|
| 224 | count($posts_ids) |
---|
| 225 | ), |
---|
| 226 | count($posts_ids)) |
---|
| 227 | ); |
---|
[2494] | 228 | |
---|
[2181] | 229 | $ap->redirect(false); |
---|
[1796] | 230 | } |
---|
| 231 | |
---|
[1806] | 232 | public static function doChangePostCategory($core, dcPostsActionsPage $ap, $post) { |
---|
[1796] | 233 | if (isset($post['new_cat_id'])) { |
---|
[1806] | 234 | $posts_ids = $ap->getIDs(); |
---|
[1796] | 235 | if (empty($posts_ids)) { |
---|
| 236 | throw new Exception(__('No entry selected')); |
---|
| 237 | } |
---|
| 238 | $new_cat_id = $post['new_cat_id']; |
---|
| 239 | if (!empty($post['new_cat_title']) && $core->auth->check('categories', $core->blog->id)) |
---|
| 240 | { |
---|
| 241 | $cur_cat = $core->con->openCursor($core->prefix.'category'); |
---|
| 242 | $cur_cat->cat_title = $post['new_cat_title']; |
---|
| 243 | $cur_cat->cat_url = ''; |
---|
[2181] | 244 | $title = $cur_cat->cat_title; |
---|
[2494] | 245 | |
---|
[1796] | 246 | $parent_cat = !empty($post['new_cat_parent']) ? $post['new_cat_parent'] : ''; |
---|
[2494] | 247 | |
---|
[1796] | 248 | # --BEHAVIOR-- adminBeforeCategoryCreate |
---|
| 249 | $core->callBehavior('adminBeforeCategoryCreate', $cur_cat); |
---|
[2494] | 250 | |
---|
[1796] | 251 | $new_cat_id = $core->blog->addCategory($cur_cat, (integer) $parent_cat); |
---|
[2494] | 252 | |
---|
[1796] | 253 | # --BEHAVIOR-- adminAfterCategoryCreate |
---|
| 254 | $core->callBehavior('adminAfterCategoryCreate', $cur_cat, $new_cat_id); |
---|
| 255 | } |
---|
[2494] | 256 | |
---|
[1796] | 257 | $core->blog->updPostsCategory($posts_ids, $new_cat_id); |
---|
[2181] | 258 | $title = $core->blog->getCategory($new_cat_id); |
---|
| 259 | dcPage::addSuccessNotice(sprintf( |
---|
| 260 | __( |
---|
| 261 | '%d entry has been successfully moved to category "%s"', |
---|
| 262 | '%d entries have been successfully moved to category "%s"', |
---|
| 263 | count($posts_ids) |
---|
| 264 | ), |
---|
| 265 | count($posts_ids), |
---|
| 266 | html::escapeHTML($title->cat_title)) |
---|
| 267 | ); |
---|
| 268 | |
---|
| 269 | $ap->redirect(true); |
---|
[1796] | 270 | } else { |
---|
[2048] | 271 | |
---|
[1806] | 272 | $ap->beginPage( |
---|
[1796] | 273 | dcPage::breadcrumb( |
---|
| 274 | array( |
---|
| 275 | html::escapeHTML($core->blog->name) => '', |
---|
[2169] | 276 | $ap->getCallerTitle() => $ap->getRedirection(true), |
---|
[2166] | 277 | __('Change category for this selection') => '' |
---|
[1796] | 278 | ))); |
---|
| 279 | # categories list |
---|
| 280 | # Getting categories |
---|
| 281 | $categories_combo = dcAdminCombos::getCategoriesCombo( |
---|
[2048] | 282 | $core->blog->getCategories() |
---|
[2494] | 283 | ); |
---|
[1796] | 284 | echo |
---|
[2178] | 285 | '<form action="'.$ap->getURI().'" method="post">'. |
---|
[1806] | 286 | $ap->getCheckboxes(). |
---|
[1796] | 287 | '<p><label for="new_cat_id" class="classic">'.__('Category:').'</label> '. |
---|
[2048] | 288 | form::combo(array('new_cat_id'),$categories_combo,''); |
---|
[2494] | 289 | |
---|
[1796] | 290 | if ($core->auth->check('categories', $core->blog->id)) { |
---|
[2494] | 291 | echo |
---|
[1796] | 292 | '<div>'. |
---|
| 293 | '<p id="new_cat">'.__('Create a new category for the post(s)').'</p>'. |
---|
| 294 | '<p><label for="new_cat_title">'.__('Title:').'</label> '. |
---|
| 295 | form::field('new_cat_title',30,255,'','').'</p>'. |
---|
| 296 | '<p><label for="new_cat_parent">'.__('Parent:').'</label> '. |
---|
| 297 | form::combo('new_cat_parent',$categories_combo,'',''). |
---|
| 298 | '</p>'. |
---|
| 299 | '</div>'; |
---|
| 300 | } |
---|
[2494] | 301 | |
---|
[1796] | 302 | echo |
---|
| 303 | $core->formNonce(). |
---|
[2048] | 304 | $ap->getHiddenFields(). |
---|
[1796] | 305 | form::hidden(array('action'),'category'). |
---|
| 306 | '<input type="submit" value="'.__('Save').'" /></p>'. |
---|
| 307 | '</form>'; |
---|
[1806] | 308 | $ap->endPage(); |
---|
[1796] | 309 | |
---|
| 310 | } |
---|
[2494] | 311 | |
---|
[1796] | 312 | } |
---|
[1806] | 313 | public static function doChangePostAuthor($core, dcPostsActionsPage $ap, $post) { |
---|
[1796] | 314 | if (isset($post['new_auth_id']) && $core->auth->check('admin',$core->blog->id)) { |
---|
| 315 | $new_user_id = $post['new_auth_id']; |
---|
[1806] | 316 | $posts_ids = $ap->getIDs(); |
---|
[1796] | 317 | if (empty($posts_ids)) { |
---|
| 318 | throw new Exception(__('No entry selected')); |
---|
| 319 | } |
---|
[1806] | 320 | if ($core->getUser($new_user_id)->isEmpty()) { |
---|
| 321 | throw new Exception(__('This user does not exist')); |
---|
| 322 | } |
---|
[2494] | 323 | |
---|
[1806] | 324 | $cur = $core->con->openCursor($core->prefix.'post'); |
---|
| 325 | $cur->user_id = $new_user_id; |
---|
| 326 | $cur->update('WHERE post_id '.$core->con->in($posts_ids)); |
---|
[2181] | 327 | dcPage::addSuccessNotice(sprintf( |
---|
| 328 | __( |
---|
| 329 | '%d entry has been successfully set to user "%s"', |
---|
| 330 | '%d entries have been successfully set to user "%s"', |
---|
| 331 | count($posts_ids) |
---|
| 332 | ), |
---|
| 333 | count($posts_ids), |
---|
| 334 | html::escapeHTML($new_user_id)) |
---|
| 335 | ); |
---|
| 336 | |
---|
| 337 | |
---|
| 338 | $ap->redirect(true); |
---|
[1796] | 339 | } else { |
---|
| 340 | $usersList = ''; |
---|
| 341 | if ($core->auth->check('admin',$core->blog->id)) { |
---|
| 342 | $params = array( |
---|
| 343 | 'limit' => 100, |
---|
| 344 | 'order' => 'nb_post DESC' |
---|
| 345 | ); |
---|
| 346 | $rs = $core->getUsers($params); |
---|
[3105] | 347 | $rsStatic = $rs->toStatic(); |
---|
| 348 | $rsStatic->extend('rsExtUser'); |
---|
| 349 | $rsStatic = $rsStatic->toExtStatic(); |
---|
| 350 | $rsStatic->lexicalSort('user_id'); |
---|
| 351 | while ($rsStatic->fetch()) |
---|
[1796] | 352 | { |
---|
[3105] | 353 | $usersList .= ($usersList != '' ? ',' : '').'"'.$rsStatic->user_id.'"'; |
---|
[1796] | 354 | } |
---|
| 355 | } |
---|
[1806] | 356 | $ap->beginPage( |
---|
[1796] | 357 | dcPage::breadcrumb( |
---|
| 358 | array( |
---|
| 359 | html::escapeHTML($core->blog->name) => '', |
---|
[2169] | 360 | $ap->getCallerTitle() => $ap->getRedirection(true), |
---|
[2166] | 361 | __('Change author for this selection') => '')), |
---|
[1806] | 362 | dcPage::jsLoad('js/jquery/jquery.autocomplete.js'). |
---|
| 363 | '<script type="text/javascript">'."\n". |
---|
| 364 | 'usersList = ['.$usersList.']'."\n". |
---|
| 365 | "</script>\n" |
---|
[1796] | 366 | ); |
---|
| 367 | |
---|
| 368 | echo |
---|
[2178] | 369 | '<form action="'.$ap->getURI().'" method="post">'. |
---|
[1806] | 370 | $ap->getCheckboxes(). |
---|
[1796] | 371 | '<p><label for="new_auth_id" class="classic">'.__('New author (author ID):').'</label> '. |
---|
| 372 | form::field('new_auth_id',20,255); |
---|
[2494] | 373 | |
---|
[1796] | 374 | echo |
---|
[2048] | 375 | $core->formNonce().$ap->getHiddenFields(). |
---|
[1796] | 376 | form::hidden(array('action'),'author'). |
---|
| 377 | '<input type="submit" value="'.__('Save').'" /></p>'. |
---|
| 378 | '</form>'; |
---|
[1806] | 379 | $ap->endPage(); |
---|
[1796] | 380 | } |
---|
| 381 | } |
---|
[1806] | 382 | public static function doChangePostLang($core, dcPostsActionsPage $ap, $post) { |
---|
[1808] | 383 | $posts_ids = $ap->getIDs(); |
---|
| 384 | if (empty($posts_ids)) { |
---|
| 385 | throw new Exception(__('No entry selected')); |
---|
| 386 | } |
---|
[1796] | 387 | if (isset($post['new_lang'])) { |
---|
| 388 | $new_lang = $post['new_lang']; |
---|
[1806] | 389 | $cur = $core->con->openCursor($core->prefix.'post'); |
---|
| 390 | $cur->post_lang = $new_lang; |
---|
| 391 | $cur->update('WHERE post_id '.$core->con->in($posts_ids)); |
---|
[2181] | 392 | dcPage::addSuccessNotice(sprintf( |
---|
| 393 | __( |
---|
| 394 | '%d entry has been successfully set to language "%s"', |
---|
| 395 | '%d entries have been successfully set to language "%s"', |
---|
| 396 | count($posts_ids) |
---|
| 397 | ), |
---|
| 398 | count($posts_ids), |
---|
| 399 | html::escapeHTML(l10n::getLanguageName($new_lang))) |
---|
| 400 | ); |
---|
| 401 | $ap->redirect(true); |
---|
[1796] | 402 | } else { |
---|
[1806] | 403 | $ap->beginPage( |
---|
[1796] | 404 | dcPage::breadcrumb( |
---|
| 405 | array( |
---|
| 406 | html::escapeHTML($core->blog->name) => '', |
---|
[2169] | 407 | $ap->getCallerTitle() => $ap->getRedirection(true), |
---|
[2494] | 408 | __('Change language for this selection') => '' |
---|
[1796] | 409 | ))); |
---|
| 410 | # lang list |
---|
| 411 | # Languages combo |
---|
| 412 | $rs = $core->blog->getLangs(array('order'=>'asc')); |
---|
| 413 | $all_langs = l10n::getISOcodes(0,1); |
---|
| 414 | $lang_combo = array('' => '', __('Most used') => array(), __('Available') => l10n::getISOcodes(1,1)); |
---|
| 415 | while ($rs->fetch()) { |
---|
| 416 | if (isset($all_langs[$rs->post_lang])) { |
---|
| 417 | $lang_combo[__('Most used')][$all_langs[$rs->post_lang]] = $rs->post_lang; |
---|
| 418 | unset($lang_combo[__('Available')][$all_langs[$rs->post_lang]]); |
---|
| 419 | } else { |
---|
| 420 | $lang_combo[__('Most used')][$rs->post_lang] = $rs->post_lang; |
---|
| 421 | } |
---|
| 422 | } |
---|
| 423 | unset($all_langs); |
---|
| 424 | unset($rs); |
---|
[2494] | 425 | |
---|
[1796] | 426 | echo |
---|
[2178] | 427 | '<form action="'.$ap->getURI().'" method="post">'. |
---|
[1806] | 428 | $ap->getCheckboxes(). |
---|
[2494] | 429 | |
---|
[2001] | 430 | '<p><label for="new_lang" class="classic">'.__('Entry language:').'</label> '. |
---|
[1796] | 431 | form::combo('new_lang',$lang_combo,''); |
---|
[2494] | 432 | |
---|
[1796] | 433 | echo |
---|
[2048] | 434 | $core->formNonce().$ap->getHiddenFields(). |
---|
[1796] | 435 | form::hidden(array('action'),'lang'). |
---|
| 436 | '<input type="submit" value="'.__('Save').'" /></p>'. |
---|
| 437 | '</form>'; |
---|
[2059] | 438 | $ap->endPage(); |
---|
[1796] | 439 | } |
---|
| 440 | } |
---|
| 441 | } |
---|